CarrierRate.fromJson constructor
CarrierRate.fromJson(
- Map json_
Implementation
CarrierRate.fromJson(core.Map json_)
: this(
carrierName: json_['carrierName'] as core.String?,
carrierService: json_['carrierService'] as core.String?,
flatAdjustment: json_.containsKey('flatAdjustment')
? Price.fromJson(json_['flatAdjustment']
as core.Map<core.String, core.dynamic>)
: null,
name: json_['name'] as core.String?,
originPostalCode: json_['originPostalCode'] as core.String?,
percentageAdjustment: json_['percentageAdjustment'] as core.String?,
);