getDocumentTree method
Implementation
@override
Future<DocumentTree?> getDocumentTree({required String uriString}) async {
final string = await methodChannel.invokeMethod<String>('getDocumentTree', {
"contentUri": uriString,
});
var jsonString = (string ?? "");
if (jsonString.isNotEmpty) {
return DocumentTree.fromJson(jsonString);
} else {
return null;
}
}