StateRoomWrapper class
Wraps a state experience as a NeomRoom so participants sync together.
Decoupled from neom_rooms for public pub.dev release. Social features are optional and fallback gracefully to stubs.
Constructors
- StateRoomWrapper({required FrequencyState state})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isJoined → bool
-
Whether this user is currently in the room.
no setter
-
participantCount
→ Future<
int> -
Current participant count (one-shot).
no setter
-
participantCountStream
→ Stream<
int> -
Real-time participant count stream.
no setter
-
participantsStream
→ Stream<
List> -
Real-time participant list stream.
no setter
- roomId → String
-
Room ID for this frequency state.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Share link for this state room.
no setter
- state → FrequencyState
-
final
Methods
-
join(
) → Future< void> - Join the room. Call when the experience starts.
-
leave(
) → Future< void> - Leave the room.
-
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