MotherDetailsState constructor

const MotherDetailsState({
  1. List<Document> allMothers = const [],
  2. List<Document> filteredMothers = const [],
  3. DateTime? fromDate,
  4. DateTime? tillDate,
  5. String searchQuery = '',
  6. bool isLoading = false,
  7. String? errorMessage,
})

Creates a MotherDetailsState with the given values.

Implementation

const MotherDetailsState({
  this.allMothers = const [],
  this.filteredMothers = const [],
  this.fromDate,
  this.tillDate,
  this.searchQuery = '',
  this.isLoading = false,
  this.errorMessage,
});