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