roundToMinutes method
Rounds this duration to the nearest minute.
Implementation
Duration roundToMinutes() => Duration(minutes: (inSeconds / 60).round());
Rounds this duration to the nearest minute.
Duration roundToMinutes() => Duration(minutes: (inSeconds / 60).round());