mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

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