findFile function
Equivalent to DocumentFile.findFile.
If you want to check if a given document file exists by their displayName prefer using child instead.
Implementation
Future<DocumentFile?> findFile(Uri directoryUri, String displayName) async {
final Map<String, String> args = <String, String>{
'uri': '$directoryUri',
'displayName': displayName,
};
return invokeMapMethod('findFile', args);
}