TimeOfDay.pm constructor

const TimeOfDay.pm({
  1. required int hour,
  2. required int minute,
  3. int second = 0,
})

Implementation

const TimeOfDay.pm({
  required int hour,
  required this.minute,
  this.second = 0,
}) : hour = hour + 12;