map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult initialize(
    1. SearchHouseholdsInitializedEvent value
    ),
  2. required TResult searchByHousehold(
    1. SearchHouseholdsByHouseholdsEvent value
    ),
  3. required TResult searchByHouseholdHead(
    1. SearchHouseholdsSearchByHouseholdHeadEvent value
    ),
  4. required TResult searchByProximity(
    1. SearchHouseholdsByProximityEvent value
    ),
  5. required TResult searchByTag(
    1. SearchHouseholdsByTagEvent value
    ),
  6. required TResult clear(
    1. SearchHouseholdsClearEvent value
    ),
  7. required TResult individualGlobalSearch(
    1. IndividualGlobalSearchEvent value
    ),
  8. required TResult houseHoldGlobalSearch(
    1. HouseHoldGlobalSearchEvent value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(SearchHouseholdsInitializedEvent value)
      initialize,
  required TResult Function(SearchHouseholdsByHouseholdsEvent value)
      searchByHousehold,
  required TResult Function(SearchHouseholdsSearchByHouseholdHeadEvent value)
      searchByHouseholdHead,
  required TResult Function(SearchHouseholdsByProximityEvent value)
      searchByProximity,
  required TResult Function(SearchHouseholdsByTagEvent value) searchByTag,
  required TResult Function(SearchHouseholdsClearEvent value) clear,
  required TResult Function(IndividualGlobalSearchEvent value)
      individualGlobalSearch,
  required TResult Function(HouseHoldGlobalSearchEvent value)
      houseHoldGlobalSearch,
}) =>
    throw _privateConstructorUsedError;