Future<FileSystem> webkitRequestFileSystem(int type, int size)

Source

Future<FileSystem> webkitRequestFileSystem(int type, int size) {
  var completer = new Completer<FileSystem>();
  _webkitRequestFileSystem(type, size, (value) {
    completer.complete(value);
  }, (error) {
    completer.completeError(error);
  });
  return completer.future;
}