when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult modEventTakedown(
- ModEventTakedown data
- required TResult modEventReverseTakedown(),
- required TResult modEventComment(
- ModEventComment data
- required TResult modEventReport(
- ModEventReport data
- required TResult modEventLabel(
- ModEventLabel data
- required TResult modEventAcknowledge(
- ModEventAcknowledge data
- required TResult modEventEscalate(
- ModEventEscalate data
- required TResult modEventMute(
- ModEventMute data
- required TResult modEventUnmute(
- ModEventUnmute data
- required TResult modEventMuteReporter(
- ModEventMuteReporter data
- required TResult modEventUnmuteReporter(),
- required TResult modEventEmail(
- ModEventEmail data
- required TResult modEventResolveAppeal(),
- required TResult modEventDivert(
- ModEventDivert data
- required TResult modEventTag(
- ModEventTag data
- required TResult unknown(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ModEventTakedown data) modEventTakedown,
required TResult Function(ModEventReverseTakedown data)
modEventReverseTakedown,
required TResult Function(ModEventComment data) modEventComment,
required TResult Function(ModEventReport data) modEventReport,
required TResult Function(ModEventLabel data) modEventLabel,
required TResult Function(ModEventAcknowledge data) modEventAcknowledge,
required TResult Function(ModEventEscalate data) modEventEscalate,
required TResult Function(ModEventMute data) modEventMute,
required TResult Function(ModEventUnmute data) modEventUnmute,
required TResult Function(ModEventMuteReporter data) modEventMuteReporter,
required TResult Function(ModEventUnmuteReporter data)
modEventUnmuteReporter,
required TResult Function(ModEventEmail data) modEventEmail,
required TResult Function(ModEventResolveAppeal data) modEventResolveAppeal,
required TResult Function(ModEventDivert data) modEventDivert,
required TResult Function(ModEventTag data) modEventTag,
required TResult Function(Map<String, dynamic> data) unknown,
}) =>
throw _privateConstructorUsedError;