DurationConst.year constructor
DurationConst.year(
- int value
Implementation
DurationConst.year(int value) : duration = Duration(days: value * 365);
DurationConst.year(int value) : duration = Duration(days: value * 365);