isThisYear property

bool get isThisYear

Implementation

bool get isThisYear {
  var now = DateTime.now();
  return now.year == year;
}