AutoModerationAction class

Describes an action to take when an AutoModerationRule is triggered.

Implemented types

Properties

hashCode int
The hash code for this object.
no setterinherited
metadata ActionMetadata?
Metadata needed to perform the action.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type ActionType
The type of action to perform.
final

Methods

build() Map<String, Object?>
override
defaultToString() String
Same as toString, but only called when dart:mirrors is not available.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited