child function
Return the child
of the given uri
if it exists otherwise null
.
It's faster than DocumentFile.findFile
path
is the single file name or file path. Empty string returns to itself.
Equivalent to DocumentFile.child
extension/overload.
Implementation
@willbemovedsoon
Future<DocumentFile?> child(
Uri uri,
String path, {
bool requiresWriteAccess = false,
}) async {
final args = <String, dynamic>{
'uri': '$uri',
'path': path,
'requiresWriteAccess': requiresWriteAccess,
};
return invokeMapMethod('child', args);
}