ExceptionDateTimesProperty constructor
ExceptionDateTimesProperty(})
Implementation
ExceptionDateTimesProperty(
List<DateTime> values, {
this.valueType = ValueType.dateTime,
this.timeZoneIdentifier,
}) : assert(
valueType == ValueType.date || valueType == ValueType.dateTime,
"valueType must either be date or dateTime",
),
super(
"EXDATE",
CalendarValueList(
values
.map((e) => valueType == ValueType.date
? DateValue(e)
: DateTimeValue(e))
.toList(),
),
);