serialize method
Serializes information the current object
writer Serialization writer to use to serialize this model
Implementation
@override
void serialize(SerializationWriter writer) {
writer.writeObjectValue<PaymentIntentCardProcessing>('card', card);
writer.writeEnumValue<PaymentIntentProcessingType>(
'type', type_, (e) => e?.value);
writer.writeAdditionalData(additionalData);
}