getFilePathFromUri method

  1. @override
Future<String?> getFilePathFromUri({
  1. required String uriString,
})
override

Implementation

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