PickupCost.fromJson constructor
PickupCost.fromJson(
- Map json_
Implementation
PickupCost.fromJson(core.Map json_)
: this(
flatRate: json_.containsKey('flatRate')
? Price.fromJson(
json_['flatRate'] as core.Map<core.String, core.dynamic>,
)
: null,
freeThreshold: json_.containsKey('freeThreshold')
? Price.fromJson(
json_['freeThreshold'] as core.Map<core.String, core.dynamic>,
)
: null,
);