year property

int year

Returns year of the date represented by this object.

Implementation

int get year => _date.year;