currentYear property
int
get
currentYear
Gets the current year.
Implementation
static int get currentYear {
return DateTime.now().year;
}
Gets the current year.
static int get currentYear {
return DateTime.now().year;
}