documentFileFromUri method
Implementation
@override
Future<SafDocumentFile?> documentFileFromUri(String uri, bool isDir) async {
final map = await methodChannel.invokeMapMethod<String, dynamic>(
'documentFileFromUri',
{'uri': uri, 'isDir': isDir},
);
if (map == null) {
return null;
}
return SafDocumentFile.fromMap(map);
}