map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult initialize(
    1. SearchReferralsInitializedEvent value
    ),
  2. required TResult searchByName(
    1. SearchReferralsByNameEvent value
    ),
  3. required TResult searchByTag(
    1. SearchReferralsByTagEvent value
    ),
  4. required TResult clear(
    1. SearchReferralsClearEvent value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(SearchReferralsInitializedEvent value) initialize,
  required TResult Function(SearchReferralsByNameEvent value) searchByName,
  required TResult Function(SearchReferralsByTagEvent value) searchByTag,
  required TResult Function(SearchReferralsClearEvent value) clear,
}) =>
    throw _privateConstructorUsedError;