encode abstract method
Encodes the input value and returns an EncodedValue object.
May return null if the codec is not able to encode the input.
Implementation
FutureOr<EncodedValue?> encode(TypedValue input, CodecContext context);
Encodes the input value and returns an EncodedValue object.
May return null if the codec is not able to encode the input.
FutureOr<EncodedValue?> encode(TypedValue input, CodecContext context);