isThisYear method

bool isThisYear()

Implementation

bool isThisYear() => year == DateTime.now().year;