FirebaseRoomData class
Representation of Firebase room document.
Constructors
Properties
-
document
→ DocumentSnapshot<
Map< String, dynamic> > -
Original Firebase document.
final
- game → Game
-
Game being played.
final
- gameStarted → bool
-
Whether the game has begun or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- host → Player
-
Player that owns the room.
final
- lastUpdateTimestamp → Timestamp
-
Timestamp of the last event sent.
final
- password → String?
-
Password to access the room.
final
- playerCount → int
-
Number of players within the room.
final
- 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
Static Methods
-
fromDocument(
DocumentSnapshot< Map< document, Game game) → FirebaseRoomDataString, dynamic> >