TimeOfDay.fromDuration constructor
TimeOfDay.fromDuration(
- Duration duration
Implementation
TimeOfDay.fromDuration(Duration duration)
: hour = duration.inHours,
minute = duration.inMinutes % 60,
second = duration.inSeconds % 60;