curYearAsInt top-level property
int
curYearAsInt
Returns current year as an int (ex. 2019).
Implementation
int get curYearAsInt {
return DateTime.now().year;
}
Returns current year as an int (ex. 2019).
int get curYearAsInt {
return DateTime.now().year;
}