mapOrNull<TResult extends Object?> method

  1. @optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  1. TResult? modEventTakedown(
    1. UModEventViewDetailEventModEventTakedown value
    )?,
  2. TResult? modEventReverseTakedown(
    1. UModEventViewDetailEventModEventReverseTakedown value
    )?,
  3. TResult? modEventComment(
    1. UModEventViewDetailEventModEventComment value
    )?,
  4. TResult? modEventReport(
    1. UModEventViewDetailEventModEventReport value
    )?,
  5. TResult? modEventLabel(
    1. UModEventViewDetailEventModEventLabel value
    )?,
  6. TResult? modEventAcknowledge(
    1. UModEventViewDetailEventModEventAcknowledge value
    )?,
  7. TResult? modEventEscalate(
    1. UModEventViewDetailEventModEventEscalate value
    )?,
  8. TResult? modEventMute(
    1. UModEventViewDetailEventModEventMute value
    )?,
  9. TResult? modEventUnmute(
    1. UModEventViewDetailEventModEventUnmute value
    )?,
  10. TResult? modEventMuteReporter(
    1. UModEventViewDetailEventModEventMuteReporter value
    )?,
  11. TResult? modEventUnmuteReporter(
    1. UModEventViewDetailEventModEventUnmuteReporter value
    )?,
  12. TResult? modEventEmail(
    1. UModEventViewDetailEventModEventEmail value
    )?,
  13. TResult? modEventResolveAppeal(
    1. UModEventViewDetailEventModEventResolveAppeal value
    )?,
  14. TResult? modEventDivert(
    1. UModEventViewDetailEventModEventDivert value
    )?,
  15. TResult? modEventTag(
    1. UModEventViewDetailEventModEventTag value
    )?,
  16. TResult? unknown(
    1. UModEventViewDetailEventUnknown value
    )?,
})
inherited

Implementation

@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
  TResult? Function(UModEventViewDetailEventModEventTakedown value)?
      modEventTakedown,
  TResult? Function(UModEventViewDetailEventModEventReverseTakedown value)?
      modEventReverseTakedown,
  TResult? Function(UModEventViewDetailEventModEventComment value)?
      modEventComment,
  TResult? Function(UModEventViewDetailEventModEventReport value)?
      modEventReport,
  TResult? Function(UModEventViewDetailEventModEventLabel value)?
      modEventLabel,
  TResult? Function(UModEventViewDetailEventModEventAcknowledge value)?
      modEventAcknowledge,
  TResult? Function(UModEventViewDetailEventModEventEscalate value)?
      modEventEscalate,
  TResult? Function(UModEventViewDetailEventModEventMute value)? modEventMute,
  TResult? Function(UModEventViewDetailEventModEventUnmute value)?
      modEventUnmute,
  TResult? Function(UModEventViewDetailEventModEventMuteReporter value)?
      modEventMuteReporter,
  TResult? Function(UModEventViewDetailEventModEventUnmuteReporter value)?
      modEventUnmuteReporter,
  TResult? Function(UModEventViewDetailEventModEventEmail value)?
      modEventEmail,
  TResult? Function(UModEventViewDetailEventModEventResolveAppeal value)?
      modEventResolveAppeal,
  TResult? Function(UModEventViewDetailEventModEventDivert value)?
      modEventDivert,
  TResult? Function(UModEventViewDetailEventModEventTag value)? modEventTag,
  TResult? Function(UModEventViewDetailEventUnknown value)? unknown,
}) =>
    throw _privateConstructorUsedError;