BarrageType enum

Barrage type enumeration, used to distinguish different types of barrage messages.

Inheritance
Available extensions

Values

text → const BarrageType

Text type barrage, containing plain text content.

const BarrageType(0)
custom → const BarrageType

Custom type barrage, supporting business-defined data formats (such as barrages with special effects, interactive messages, etc.).

const BarrageType(1)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

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

Constants

values → const List<BarrageType>
A constant List of the values in this enum, in order of their declaration.