currentYear property

int currentYear

Gets the current year.

Implementation

static int get currentYear {
  return DateTime.now().year;
}