whenOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? blocking()?,
- TResult? blockedBy()?,
- TResult? blockOther()?,
- TResult? label(
- ModerationCauseLabel data
- TResult? muted(
- ModerationCauseMuted data
- TResult? muteWord()?,
inherited
Implementation
@optionalTypeArgs
TResult? whenOrNull<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,
}) =>
throw _privateConstructorUsedError;