HolidaysHoliday.fromJson constructor
HolidaysHoliday.fromJson(
- Map json_
Implementation
HolidaysHoliday.fromJson(core.Map json_)
: this(
countryCode: json_.containsKey('countryCode')
? json_['countryCode'] as core.String
: null,
date: json_.containsKey('date') ? json_['date'] as core.String : null,
deliveryGuaranteeDate: json_.containsKey('deliveryGuaranteeDate')
? json_['deliveryGuaranteeDate'] as core.String
: null,
deliveryGuaranteeHour: json_.containsKey('deliveryGuaranteeHour')
? json_['deliveryGuaranteeHour'] as core.String
: null,
id: json_.containsKey('id') ? json_['id'] as core.String : null,
type: json_.containsKey('type') ? json_['type'] as core.String : null,
);