ShippingsettingsGetSupportedHolidaysResponse.fromJson constructor
ShippingsettingsGetSupportedHolidaysResponse.fromJson(
- Map json_
Implementation
ShippingsettingsGetSupportedHolidaysResponse.fromJson(core.Map json_)
: this(
holidays: json_.containsKey('holidays')
? (json_['holidays'] as core.List)
.map((value) => HolidaysHoliday.fromJson(
value as core.Map<core.String, core.dynamic>))
.toList()
: null,
kind: json_.containsKey('kind') ? json_['kind'] as core.String : null,
);