serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeEnumValue<CustomerTaxAutomaticTax>(
'automatic_tax', automaticTax, (e) => e?.value);
writer.writeStringValue('ip_address', ipAddress);
writer.writeObjectValue<CustomerTaxLocation>('location', location);
writer.writeEnumValue<CustomerTaxProvider>(
'provider', provider, (e) => e?.value);
writer.writeAdditionalData(additionalData);
}