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