mapOrNull<TResult extends Object?> method
- @optionalTypeArgs
- TResult? blocking(
- UModerationCauseBlocking value
- TResult? blockedBy()?,
- TResult? blockOther()?,
- TResult? label(
- UModerationCauseLabel value
- TResult? muted(
- UModerationCauseMuted value
- TResult? muteWord(
- UModerationCauseMuteWord value
inherited
Implementation
@optionalTypeArgs
TResult? mapOrNull<TResult extends Object?>({
TResult? Function(UModerationCauseBlocking value)? blocking,
TResult? Function(UModerationCauseBlockedBy value)? blockedBy,
TResult? Function(UModerationCauseBlockOther value)? blockOther,
TResult? Function(UModerationCauseLabel value)? label,
TResult? Function(UModerationCauseMuted value)? muted,
TResult? Function(UModerationCauseMuteWord value)? muteWord,
TResult? Function(UModerationCauseHidden value)? hidden,
}) =>
throw _privateConstructorUsedError;