maybeMap<TResult extends Object?> method
TResult
maybeMap<TResult extends Object?>({
- TResult initialize()?,
- TResult searchByName()?,
- TResult searchByTag()?,
- TResult clear()?,
- 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;