encodeValue method
Encode the value. This needs to be public because it is used by encodeValue() from different types. @internal
Implementation
@override
Uint8List encodeValue(dynamic x) {
final len = lebEncode(x.length);
return u8aConcat([
len,
...x.map((dynamic d) => tryToJson(_type, d) ?? _type.encodeValue(d)),
]);
}