minutesOnly property

int get minutesOnly

Returns the minutes component of the Duration.

Example:

Duration(hours: 2, minutes: 3).minutesOnly; // 3

Implementation

int get minutesOnly => inMinutes.remainder(60);