query 方法

Future<PermissionStatus> query(
  1. Map permission
)

实现

Future<PermissionStatus> query(Map permission) {
  var permission_dict = convertDartToNative_Dictionary(permission);
  return promiseToFuture<PermissionStatus>(
      JS("creates:PermissionStatus;", "#.query(#)", this, permission_dict));
}