encoder method

Object? encoder(
  1. NameModel value,
  2. EncodingContext context
)
inherited

The mapping method to encode value to a serializable value.

Implementation

Object? encoder(T value, EncodingContext context) {
  throw MapperException.unsupportedMethod(MapperMethod.encode, type);
}