DurationConst.hour constructor

DurationConst.hour(
  1. int value
)

Implementation

DurationConst.hour(int value) : duration = Duration(hours: value);