Availability constructor
Availability({
- required ZoneId timeZone,
- List<
WeeklyWindow> weekly = const [], - List<
DateException> exceptions = const [], - List<
RuleWindow> rules = const [],
Implementation
Availability({
required this.timeZone,
List<WeeklyWindow> weekly = const [],
List<DateException> exceptions = const [],
List<RuleWindow> rules = const [],
}) : weekly = List.unmodifiable(weekly),
exceptions = List.unmodifiable(exceptions),
rules = List.unmodifiable(rules);