pickFiles method

Future<List> pickFiles(
  1. bool multiple, {
  2. List<String> mime = const [],
  3. required int viewId,
})

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

Future<List<dynamic>> pickFiles(bool multiple,
    {List<String> mime = const [], required int viewId}) async {
  throw UnimplementedError('pickFiles');
}