getContentBytes method

Uint8List getContentBytes()

Returns the binary content of the asset as a Uint8List.

Example:

final bytes = asset.getContentBytes(); // <Uint8List of file contents>

Implementation

Uint8List getContentBytes() => _contentBytes;