maybeWhen<TResult extends Object?> method
TResult
maybeWhen<TResult extends Object?>({
- TResult handleSubmit(
- ReferralModel referral,
- bool isEditing
- TResult handleSearch(
- ReferralSearchModel referrals
- 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;