ModerationAction class
Constructors
- ModerationAction(ModerationActionType type, ModerationActionMetadata? metadata)
- ModerationAction.blockMessage()
-
factory
- ModerationAction.sendAlert(Snowflake channelId)
-
factory
- ModerationAction.timeout(Duration duration)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- metadata ↔ ModerationActionMetadata?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type ↔ ModerationActionType
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Object -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited