TimeOfDay constructor

const TimeOfDay({@required int hour, @required int minute })

Creates a time of day.

The hour argument must be between 0 and 23, inclusive. The minute argument must be between 0 and 59, inclusive.

Implementation

const TimeOfDay({ @required this.hour, @required this.minute });