moveTo method
Implementation
@override
Future<SafDocumentFile> moveTo(
String uri, bool isDir, String parentUri, String newParentUri) async {
final map = await methodChannel.invokeMapMethod<String, dynamic>(
'moveTo',
{
'uri': uri,
'isDir': isDir,
'parentUri': parentUri,
'newParentUri': newParentUri
},
);
if (map == null) {
throw Exception('Failed to move: $uri');
}
return SafDocumentFile.fromMap(map);
}