map<TResult extends Object?> method

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

Implementation

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