Value.fromJson constructor
Value.fromJson(
- Map json_
Implementation
Value.fromJson(core.Map json_)
: this(
carrierRateName: json_.containsKey('carrierRateName')
? json_['carrierRateName'] as core.String
: null,
flatRate: json_.containsKey('flatRate')
? Price.fromJson(
json_['flatRate'] as core.Map<core.String, core.dynamic>)
: null,
noShipping: json_.containsKey('noShipping')
? json_['noShipping'] as core.bool
: null,
pricePercentage: json_.containsKey('pricePercentage')
? json_['pricePercentage'] as core.String
: null,
subtableName: json_.containsKey('subtableName')
? json_['subtableName'] as core.String
: null,
);