maybeMap<TResult extends Object?> method

  1. @optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  1. TResult saveFacilityDetails(
    1. RecordHFReferralSaveFacilityDetailsEvent value
    )?,
  2. TResult createReferralEntry(
    1. RecordHFReferralCreateEntryEvent value
    )?,
  3. TResult viewReferral(
    1. RecordHFReferralViewEvent value
    )?,
  4. required TResult orElse(),
})
inherited

Implementation

@optionalTypeArgs
TResult maybeMap<TResult extends Object?>({
  TResult Function(RecordHFReferralSaveFacilityDetailsEvent value)?
      saveFacilityDetails,
  TResult Function(RecordHFReferralCreateEntryEvent value)?
      createReferralEntry,
  TResult Function(RecordHFReferralViewEvent value)? viewReferral,
  required TResult orElse(),
}) =>
    throw _privateConstructorUsedError;