isInPreviousYear property

bool get isInPreviousYear

Implementation

bool get isInPreviousYear => year == DateTime.now().year - 1;