maybeWhen<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeWhen<TResult extends Object?>({
  1. TResult saveFacilityDetails(
    1. DateTime dateOfEvaluation,
    2. String facilityId,
    3. String? healthFacilityCord,
    4. String? referredBy,
    )?,
  2. TResult createReferralEntry(
    1. HFReferralModel hfReferralModel
    )?,
  3. TResult viewReferral(
    1. HFReferralModel hfReferralModel
    )?,
  4. 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;