encode<V> static method
Implementation
static V encode<V>(
TaxProductRegistrationsResourceCountryOptionsEurope instance,
Encoder<V> encoder,
) {
final container = encoder.container<String>();
if (instance.standard != null) {
TaxProductRegistrationsResourceCountryOptionsEuStandard.encode(
instance.standard!,
container.nestedSingleValueContainer('standard').encoder,
);
}
container.encodeString(
'type',
instance.type,
);
return container.value;
}