years property
Implementation
Duration get years => Duration(days: (this * 365.25).floor(), hours: (((this * 365.25) % 1) * 24).floor(), minutes: ((((this * 365.25) % 1) * 24 % 1) * 60).floor(), seconds: (((((this * 365.25) % 1) * 24 % 1) * 60 % 1) * 60).floor(), milliseconds: ((((((this * 365.25) % 1) * 24 % 1) * 60 % 1) * 60 % 1) * 1000).floor(), microseconds: (((((((this * 365.25) % 1) * 24 % 1) * 60 % 1) * 60 % 1) * 1000 % 1) * 1000).round());