when<TResult extends Object?> method
- @optionalTypeArgs
- required TResult blocking(),
- required TResult blockedBy(),
- required TResult blockOther(),
- required TResult label(
- ModerationCauseLabel data
- required TResult muted(
- ModerationCauseMuted data
- required TResult muteWord(),
inherited
Implementation
@optionalTypeArgs
TResult when<TResult extends Object?>({
required TResult Function(ModerationCauseBlocking data) blocking,
required TResult Function(ModerationCauseBlockedBy data) blockedBy,
required TResult Function(ModerationCauseBlockOther data) blockOther,
required TResult Function(ModerationCauseLabel data) label,
required TResult Function(ModerationCauseMuted data) muted,
required TResult Function(ModerationCauseMuteWord data) muteWord,
required TResult Function(ModerationCauseHidden data) hidden,
}) =>
throw _privateConstructorUsedError;