map<TResult extends Object?> method

  1. @optionalTypeArgs
TResult map<TResult extends Object?>({
  1. required TResult create(
    1. RecordHFReferralCreateState value
    ),
  2. required TResult persisted(
    1. RecordHFReferralPersistedState value
    ),
  3. required TResult view(
    1. RecordHFReferralViewState value
    ),
  4. required TResult error(
    1. RecordHFReferralErrorState value
    ),
})
inherited

Implementation

@optionalTypeArgs
TResult map<TResult extends Object?>({
  required TResult Function(RecordHFReferralCreateState value) create,
  required TResult Function(RecordHFReferralPersistedState value) persisted,
  required TResult Function(RecordHFReferralViewState value) view,
  required TResult Function(RecordHFReferralErrorState value) error,
}) =>
    throw _privateConstructorUsedError;