BarrageState class abstract
Barrage state, managing the barrage data state of the current room.
Contains the barrage message list of the current room, supports real-time updates.
Note: Subscribe to
barrageStateto receive real-time updates of barrage data in the room.
State Property Overview
| Property | Type | Description |
|---|---|---|
| messageList | ValueListenable<List<Barrage>> |
Barrage message list of the current room |
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
messageList
→ ValueListenable<
List< Barrage> > -
Barrage message list of the current room, supports real-time updates and can be subscribed to.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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