pickFiles method

  1. @override
Future<List> pickFiles(
  1. bool multiple, {
  2. required int viewId,
})
override

Convenience function to display the browser File Open dialog.

Set multiple to allow picking more than one file. Specify the list of accepted MIME types in mime. Returns the list of files picked by the user.

Implementation

@override
Future<List<dynamic>> pickFiles(bool multiple, {required int viewId}) {
  return _views[viewId]!.pickFiles(multiple);
}