encode method

  1. @override
Object? encode(
  1. T value,
  2. EncodingContext context
)
override

Implementation

@override
Object? encode(T value, EncodingContext context) {
  var result =
      InterfaceMapperBase.encodeFields(value, _params, ignoreNull, context);
  if (_encodedStaticParams != null) {
    return {...result, ...?_encodedStaticParams};
  }
  return result;
}