Returns the number of whole hours spanned by this Duration.
The returned value can be greater than 23.
Source
int get inHours => _duration ~/ Duration.MICROSECONDS_PER_HOUR;
Returns the number of whole hours spanned by this Duration.
The returned value can be greater than 23.
int get inHours => _duration ~/ Duration.MICROSECONDS_PER_HOUR;