encode<V> static method
Implementation
static V encode<V>(
ShippingRateDeliveryEstimateBound instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
ShippingRateDeliveryEstimateMaximumUnit.encode(
instance.unit,
container.nestedSingleValueContainer('unit').encoder,
);
container.encodeInt(
'value',
instance.value,
);
return container.value;
}