mapOrNull<TResult extends Object?> method

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

Implementation

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