getFieldDeserializers method
The deserialization information for the current model
Implementation
@override
Map<String, void Function(ParseNode)> getFieldDeserializers() {
var deserializerMap = <String, void Function(ParseNode)>{};
deserializerMap['amount'] = (node) => amount = node.getIntValue();
deserializerMap['currency'] = (node) => currency = node.getStringValue();
deserializerMap['currency_options'] = (node) => currencyOptions =
node.getObjectValue<ShippingRateFixedAmountCurrencyOptions>(
ShippingRateFixedAmountCurrencyOptions
.createFromDiscriminatorValue);
return deserializerMap;
}