load method Null safety
- String key
Retrieve a binary resource from the asset bundle as a data stream.
Throws an exception if the asset is not found.
Implementation
Future<ByteData> load(String key);
Retrieve a binary resource from the asset bundle as a data stream.
Throws an exception if the asset is not found.
Future<ByteData> load(String key);