bool isSameOrAfterDate(DateTime other) { final a = DateTime.parse(format('yyyy-MM-dd')); final b = DateTime.parse(other.format('yyyy-MM-dd')); return a.isSameDate(b) || a.isAfter(b); }