Availability constructor

Availability({
  1. required ZoneId timeZone,
  2. List<WeeklyWindow> weekly = const [],
  3. List<DateException> exceptions = const [],
  4. 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);