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