getUriFromFilePath method
Implementation
@override
Future<Uri?> getUriFromFilePath({required String path}) async {
final uriString =
await methodChannel.invokeMethod<String?>('getUriFromFilePath', {
"filePath": path,
});
if (uriString != null) {
return Uri.parse(uriString);
}
return null;
}