years method

Time years()

Gets a Time representing this number of years.

Implementation

Time years() => Time.fromYears(this);