copyAssetToLocalStorage method
Copies the asset assetName to targetName on the local file system.
Implementation
@override
Future<void> copyAssetToLocalStorage(
String assetName, String targetName) async {
final String targetPath = await _getLocalFilePath(targetName);
await methodChannel.invokeMethod('copyAssetToLocal', {
'assetName': 'assets/$assetName',
'targetPath': targetPath,
});
}