updateFromDate method

void updateFromDate(
  1. DateTime? date
)

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

Implementation

void updateFromDate(DateTime? date) {
  emit(state.copyWith(fromDate: date));
}