maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult handleSubmit(
    1. ReferralModel referral,
    2. bool isEditing
    )?,
  2. TResult handleSearch(
    1. ReferralSearchModel referrals
    )?,
  3. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  TResult Function(ReferralModel referral, bool isEditing)? handleSubmit,
  TResult Function(ReferralSearchModel referrals)? handleSearch,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;