maybeMap<TResult extends Object?> method

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

Implementation

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