year property

int year

Returns the year.

Implementation

int get year => _getter.year(dateTime);