byteToInt8 function

int byteToInt8(
  1. int b
)

Implementation

int byteToInt8(int b) =>
    Uint8List.fromList([b]).buffer.asByteData().getInt8(0);