loadAssetModelWithProgress method
Implementation
@override
Stream<int> loadAssetModelWithProgress({required String fullPath}) {
if (kReleaseMode) {
throw UnsupportedError(
"Method loadAssetModelWithProgress should not be used in the release build");
}
return _loadModelWithProgress(
loadFunction: () => _largeFileHandler.copyAssetToLocalStorageWithProgress(
assetName: fullPath,
targetPath: _modelPath,
),
);
}