copyUrlToLocalStorage method

  1. @override
Future<void> copyUrlToLocalStorage(
  1. String url,
  2. String targetName
)
override

Implementation

@override
Future<void> copyUrlToLocalStorage(String url, String targetName) async {
  final String targetPath = await _getLocalFilePath(targetName);
  await methodChannel.invokeMethod('copyUrlToLocal', {
    'url': url,
    'targetPath': targetPath,
  });
}