readAsBytesSync abstract method

Uint8List readAsBytesSync()

Reads the entire asset synchronously as a list of bytes.

Returns a Uint8List containing the bytes of the asset.

Implementation

Uint8List readAsBytesSync();