mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? modEventTakedown(
    1. UEmitEventEventModEventTakedown value
    )?,
  2. TResult? modEventAcknowledge(
    1. UEmitEventEventModEventAcknowledge value
    )?,
  3. TResult? modEventEscalate(
    1. UEmitEventEventModEventEscalate value
    )?,
  4. TResult? modEventComment(
    1. UEmitEventEventModEventComment value
    )?,
  5. TResult? modEventLabel(
    1. UEmitEventEventModEventLabel value
    )?,
  6. TResult? modEventReport(
    1. UEmitEventEventModEventReport value
    )?,
  7. TResult? modEventMute(
    1. UEmitEventEventModEventMute value
    )?,
  8. TResult? modEventUnmute(
    1. UEmitEventEventModEventUnmute value
    )?,
  9. TResult? modEventMuteReporter(
    1. UEmitEventEventModEventMuteReporter value
    )?,
  10. TResult? modEventUnmuteReporter(
    1. UEmitEventEventModEventUnmuteReporter value
    )?,
  11. TResult? modEventReverseTakedown(
    1. UEmitEventEventModEventReverseTakedown value
    )?,
  12. TResult? modEventResolveAppeal(
    1. UEmitEventEventModEventResolveAppeal value
    )?,
  13. TResult? modEventEmail(
    1. UEmitEventEventModEventEmail value
    )?,
  14. TResult? modEventTag(
    1. UEmitEventEventModEventTag value
    )?,
  15. TResult? unknown(
    1. UEmitEventEventUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UEmitEventEventModEventTakedown value)? modEventTakedown,
  TResult? Function(UEmitEventEventModEventAcknowledge value)?
      modEventAcknowledge,
  TResult? Function(UEmitEventEventModEventEscalate value)? modEventEscalate,
  TResult? Function(UEmitEventEventModEventComment value)? modEventComment,
  TResult? Function(UEmitEventEventModEventLabel value)? modEventLabel,
  TResult? Function(UEmitEventEventModEventReport value)? modEventReport,
  TResult? Function(UEmitEventEventModEventMute value)? modEventMute,
  TResult? Function(UEmitEventEventModEventUnmute value)? modEventUnmute,
  TResult? Function(UEmitEventEventModEventMuteReporter value)?
      modEventMuteReporter,
  TResult? Function(UEmitEventEventModEventUnmuteReporter value)?
      modEventUnmuteReporter,
  TResult? Function(UEmitEventEventModEventReverseTakedown value)?
      modEventReverseTakedown,
  TResult? Function(UEmitEventEventModEventResolveAppeal value)?
      modEventResolveAppeal,
  TResult? Function(UEmitEventEventModEventEmail value)? modEventEmail,
  TResult? Function(UEmitEventEventModEventTag value)? modEventTag,
  TResult? Function(UEmitEventEventUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;