thisYear top-level property

int get thisYear

Returns the current year

Implementation

int get thisYear => now.year;