toUnsignedList method
Returns the bytes as a List<int>
with unsigned values (0 to 255).
Example:
final bytes = Byte.fromList([100, -56, 0]);
print(bytes.toUnsignedList()); // [100, 200, 0]
Implementation
List<int> toUnsignedList() => _bytes.map(_signedToUnsigned).toList();