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 Int8List.fromList([x ? 1 : 0]).buffer.asUint8List();
}