The mapping method to encode value to a serializable value.
value
Object? encoder(T value, EncodingContext context) { throw MapperException.unsupportedMethod(MapperMethod.encode, type); }