Future<Entry> resolveLocalFileSystemUrl(String url)

Source

Future<Entry> resolveLocalFileSystemUrl(String url) {
  var completer = new Completer<Entry>();
  _resolveLocalFileSystemUrl(url, (value) {
    completer.complete(value);
  }, (error) {
    completer.completeError(error);
  });
  return completer.future;
}