TriggerTypes enum Null safety

Inheritance

Constructors

TriggerTypes(int value)
const

Values

keyword → const TriggerTypes

Check if content contains words from a user defined list of keywords.

TriggerTypes(1)

Check if content contains any harmful links.

TriggerTypes(2)
spam → const TriggerTypes

Check if content represents generic spam.

TriggerTypes(3)
keywordPreset → const TriggerTypes

Check if content contains words from internal pre-defined wordsets.

TriggerTypes(4)
mentionSpam → const TriggerTypes

Check if content contains more mentions than allowed.

TriggerTypes(5)

Properties

hashCode int
The hash code for this object.
read-only, inherited
index int
A numeric identifier for the enumerated value.
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
value int
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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

Static Methods

fromValue(int value) TriggerTypes

Constants

values → const List<TriggerTypes>
A constant List of the values in this enum, in order of their declaration.
[keyword, harmfulLink, spam, keywordPreset, mentionSpam]