ExclusionWindow.fromJson constructor
ExclusionWindow.fromJson(
- Map json_
Implementation
ExclusionWindow.fromJson(core.Map json_)
: this(
daily:
json_.containsKey('daily') ? json_['daily'] as core.bool : null,
daysOfWeek: json_.containsKey('daysOfWeek')
? DayOfWeekList.fromJson(
json_['daysOfWeek'] as core.Map<core.String, core.dynamic>)
: null,
duration: json_.containsKey('duration')
? json_['duration'] as core.String
: null,
singleOccurrenceDate: json_.containsKey('singleOccurrenceDate')
? Date.fromJson(json_['singleOccurrenceDate']
as core.Map<core.String, core.dynamic>)
: null,
startTime: json_.containsKey('startTime')
? TimeOfDay.fromJson(
json_['startTime'] as core.Map<core.String, core.dynamic>)
: null,
);