encode method

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

Implementation

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