DatePair constructor

DatePair(
  1. String name,
  2. DateTime from,
  3. DateTime to
)

Implementation

DatePair(this.name, this.from, this.to) {
  id = this.name;
}