whenOrNull<TResult extends Object?> method
TResult?
whenOrNull<TResult extends Object?>({
- TResult? saveFacilityDetails()?,
- TResult? createReferralEntry(
- HFReferralModel hfReferralModel
- TResult? viewReferral(
- HFReferralModel hfReferralModel
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<TResult extends Object?>({
TResult? Function(DateTime dateOfEvaluation, String facilityId,
String? healthFacilityCord, String? referredBy)?
saveFacilityDetails,
TResult? Function(HFReferralModel hfReferralModel)? createReferralEntry,
TResult? Function(HFReferralModel hfReferralModel)? viewReferral,
}) =>
throw _privateConstructorUsedError;