mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<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
    )?,
})
inherited

Implementation

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