decodeVarint7 static method
Utility method that decodes a varint7 value. Using this is easier because you don't have to convert your byte into a Uint8List object first.
Implementation
static decodeVarint7(int byte) {
Uint8List input = Uint8List.fromList([byte]);
return decodeSigned(input);
}