openFiles method

  1. @override
Future<List<String>?> openFiles({
  1. String? initialUri,
  2. List<String>? mimeTypes,
  3. dynamic multiple = true,
})
override

Implementation

@override
Future<List<String>?> openFiles({
  String? initialUri,
  List<String>? mimeTypes,
  multiple = true,
}) async {
  final res = await pickFiles(
    initialUri: initialUri,
    mimeTypes: mimeTypes,
    multiple: multiple,
  );
  return res?.map((file) => file.uri).toList();
}