targetFilePath static method
Implementation
static Future<dynamic> targetFilePath(
String fileName, String fileType, Function(String path) result) async {
Map args = {"name": fileName, "type": fileType};
Future<dynamic> callback =
_channel.invokeMethod(ShareSDKMethods.getSharedFilePath.name!, args);
callback.then((dynamic response) {
if (response != null) {
result(response["path"]);
}
});
return callback;
}