getFieldDeserializers method
The deserialization information for the current model
Implementation
@override
Map<String, void Function(ParseNode)> getFieldDeserializers() {
var deserializerMap = <String, void Function(ParseNode)>{};
deserializerMap['installments'] = (node) => installments =
node.getObjectValue<InvoiceInstallmentsCard>(
InvoiceInstallmentsCard.createFromDiscriminatorValue);
deserializerMap['request_three_d_secure'] = (node) => requestThreeDSecure =
node.getEnumValue<InvoicePaymentMethodOptionsCardRequestThreeDSecure>(
(stringValue) => InvoicePaymentMethodOptionsCardRequestThreeDSecure
.values
.where((enumVal) => enumVal.value == stringValue)
.firstOrNull);
return deserializerMap;
}