pickFile method

  1. @override
Future<SafDocumentFile?> pickFile({
  1. String? initialUri,
  2. List<String>? mimeTypes,
})
override

Implementation

@override
Future<SafDocumentFile?> pickFile({
  String? initialUri,
  List<String>? mimeTypes,
}) async {
  final res = await pickFiles(
    initialUri: initialUri,
    mimeTypes: mimeTypes,
    multiple: false,
  );
  return res?.first;
}