asUint8List property
Uint8List
get
asUint8List
Ensures that this List is an Uint8List.
Calls toUint8List if needed, or just cast to Uint8List.
Implementation
Uint8List get asUint8List =>
this is Uint8List ? (this as Uint8List) : toUint8List();