getTicketsInRange method

List<T> getTicketsInRange(
  1. DateTime pastMotnhStart,
  2. DateTime thisMonthEnd
)

Implementation

List<T> getTicketsInRange(DateTime pastMotnhStart, DateTime thisMonthEnd) =>
    where((t) => t.date.isAfter(pastMotnhStart))
        .where((t) => t.date.isBefore(thisMonthEnd))
        .toList();