assetLoader property
Seam for tests: loads asset bytes by key (e.g. assets/foo.json).
Implementation
@visibleForTesting
Future<ByteData> Function(String key) assetLoader = rootBundle.load;
Seam for tests: loads asset bytes by key (e.g. assets/foo.json).
@visibleForTesting
Future<ByteData> Function(String key) assetLoader = rootBundle.load;