decoder method

  1. @override
TransactionReason decoder(
  1. Object value,
  2. DecodingContext context
)
inherited

The mapping method to decode value to an instance of this mappers type.

Implementation

@override
T decoder(Object value, DecodingContext context) {
  _container = context.container;
  try {
    return _decode(value, context);
  } finally {
    _container = null;
  }
}