asUint8List abstract method
Returns this
instance as a Uint8List. Returns the internal bytes
buffer if the length
and capacity is the same, otherwise creates a
copy with the exact length
.
Implementation
Uint8List asUint8List([int offset = 0, int? length]);