End.count constructor Null safety

End.count(
  1. int count
)

Specify a number of occurrences at which to range-bound the recurrence. The start date time always counts as the first occurrence.

Implementation

factory End.count(int count) => End(EndType.COUNT, count: count);