inMinutes property

int inMinutes

Returns the number of whole minutes spanned by this Duration.

The returned value can be greater than 59.

Implementation

int get inMinutes => _duration ~/ Duration.microsecondsPerMinute;