when<TResult extends Object?> method

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

Implementation

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