Period<T extends Comparable<T> > constructor
Period<T extends Comparable<T> > (
- T start, [
- T? end,
- int priority = 0
Creates a Period with the given start and end time, and priority.
Implementation
Period(this.start, [T? end, this.priority = 0]): end = end ?? start;