getAll method

Returns all file systems mounted by the extension.

Implementation

Future<List<FileSystemInfo>> getAll() async {
  var $res =
      await promiseToFuture<JSArray>($js.chrome.fileSystemProvider.getAll());
  return $res.toDart
      .cast<$js.FileSystemInfo>()
      .map((e) => FileSystemInfo.fromJS(e))
      .toList();
}