Time constructor

Time({
  1. int hours = 0,
  2. int minutes = 0,
})

Implementation

Time({
  this.hours = 0,
  this.minutes = 0,
}) : assert(minutes < 60 && minutes >= 0 && hours >= 0 && hours < 24);