currentYear property

int currentYear
getter/setter pair

Implementation

int currentYear = DateTime.now().year;