loadAssetModel method

  1. @override
Future<void> loadAssetModel({
  1. required String fullPath,
})
override

Implementation

@override
Future<void> loadAssetModel({required String fullPath}) async {
  if (kReleaseMode) {
    throw UnsupportedError("Method loadAssetModel should not be used in the release build");
  }
  return _loadModel(
    loadFunction: () => _largeFileHandler.copyAssetToLocalStorage(
      assetName: fullPath,
      targetPath: _modelPath,
    ),
  );
}