updateTillDate method

void updateTillDate(
  1. DateTime? date
)

Updates the till-date filter and emits the new state.

Implementation

void updateTillDate(DateTime? date) {
  emit(state.copyWith(tillDate: date));
}