asInt8List property

Int8List get asInt8List

Ensures that this List is an Int8List.

Calls toInt8List if needed, or just cast to Int8List.

Implementation

Int8List get asInt8List =>
    this is Int8List ? (this as Int8List) : toInt8List();