encodeValue method
Encode the value. This needs to be public because it is used by encodeValue() from different types. @internal
Implementation
@override
Uint8List encodeValue(bool x) {
return x
? Int8List.fromList([1]).buffer.asUint8List()
: Int8List.fromList([0]).buffer.asUint8List();
}