maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult handleSubmit(
    1. ReferralSubmitEvent value
    )?,
  2. TResult handleSearch(
    1. ReferralSearchEvent value
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(ReferralSubmitEvent value)? handleSubmit,
  TResult Function(ReferralSearchEvent value)? handleSearch,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;