AppDuration.year constructor

AppDuration.year(
  1. int value
)

Implementation

AppDuration.year(int value) : duration = Duration(days: value * 365);