copyAssetToFileWithProgress method

Stream<int> copyAssetToFileWithProgress(
  1. String assetPath,
  2. String targetPath
)

Copies asset with progress tracking

Implementation

Stream<int> copyAssetToFileWithProgress(String assetPath, String targetPath) {
  return _handler.copyAssetToLocalStorageWithProgress(
    assetName: assetPath,
    targetPath: targetPath,
  );
}