contentToPath method

  1. @override
Future<String> contentToPath(
  1. String contentUri,
  2. bool rewrite
)
override

Implementation

@override
Future<String> contentToPath(String contentUri, bool rewrite) async {
  String? path = await methodChannel.invokeMethod<String>('contentToPath', {
    'contentUri': contentUri,
    'rewrite': rewrite,
  });
  return path ?? '';
}