Future<ByteData> load(String key)

Retrieve a binary resource from the asset bundle as a data stream.

Source

Future<ByteData> load(String key);