isLastYear property

bool isLastYear

Implementation

bool get isLastYear {
  final now = DateTime.now();
  return now.year - 1 == year;
}