mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? recordViewRecord(
    1. URecordViewRecordRecordViewRecord value
    )?,
  2. TResult? recordViewNotFound(
    1. URecordViewRecordRecordViewNotFound value
    )?,
  3. TResult? recordViewBlocked(
    1. URecordViewRecordRecordViewBlocked value
    )?,
  4. TResult? recordViewDetached(
    1. URecordViewRecordRecordViewDetached value
    )?,
  5. TResult? generatorView(
    1. URecordViewRecordGeneratorView value
    )?,
  6. TResult? listView(
    1. URecordViewRecordListView value
    )?,
  7. TResult? labelerView(
    1. URecordViewRecordLabelerView value
    )?,
  8. TResult? starterPackViewBasic(
    1. URecordViewRecordStarterPackViewBasic value
    )?,
  9. TResult? unknown(
    1. URecordViewRecordUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(URecordViewRecordRecordViewRecord value)?
      recordViewRecord,
  TResult? Function(URecordViewRecordRecordViewNotFound value)?
      recordViewNotFound,
  TResult? Function(URecordViewRecordRecordViewBlocked value)?
      recordViewBlocked,
  TResult? Function(URecordViewRecordRecordViewDetached value)?
      recordViewDetached,
  TResult? Function(URecordViewRecordGeneratorView value)? generatorView,
  TResult? Function(URecordViewRecordListView value)? listView,
  TResult? Function(URecordViewRecordLabelerView value)? labelerView,
  TResult? Function(URecordViewRecordStarterPackViewBasic value)?
      starterPackViewBasic,
  TResult? Function(URecordViewRecordUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;