hours property
Duration
get
hours
Converts hours to a Duration.
Example:
2.hours; // Duration(hours: 2)
Implementation
Duration get hours => Duration(hours: this);
Converts hours to a Duration.
Example:
2.hours; // Duration(hours: 2)
Duration get hours => Duration(hours: this);