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