whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? handleSubmit(
- ReferralModel referral,
- bool isEditing
- TResult? handleSearch(
- ReferralSearchModel referrals
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(ReferralModel referral, bool isEditing)? handleSubmit,
TResult? Function(ReferralSearchModel referrals)? handleSearch,
}) =>
throw _privateConstructorUsedError;