Year.now constructor
Year.now()
Creates a Year instance representing the current year based on the system clock.
Implementation
factory Year.now() => Year(DateTime.now().year);
Creates a Year instance representing the current year based on the system clock.
factory Year.now() => Year(DateTime.now().year);