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