bytes property

Uint8List get bytes

Turns this list of Nat8s into standard dart bytes Uint8List.

Implementation

Uint8List get bytes {
    List<int> l = map((Nat8 nat8byte)=>nat8byte.value).toList();
    return Uint8List.fromList(l);
}