hours property Null safety

Duration hours

Return current int in Duration of hours

Implementation

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