minutes property Null safety

Duration minutes

Returns a Duration representing the current value as minutes.

Example:

15.minutes; // Duration(minutes: 15);

Implementation

Duration get minutes {
  return Duration(minutes: this);
}