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