Encode the value. This needs to be public because it is used by encodeValue() from different types. @internal
@override Uint8List encodeValue(T x) { _checkType(); return _type!.encodeValue(x); }