maybeMap<TResult extends Object?> method

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

Implementation

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