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