MatchPresenceEvent class
- Annotations
-
- @freezed
Constructors
-
MatchPresenceEvent({required String matchId, required List<
UserPresence> joins, required List<UserPresence> leaves}) -
constfactory
- MatchPresenceEvent.fromDto(MatchPresenceEvent dto)
-
factory
Properties
-
copyWith
→ $MatchPresenceEventCopyWith<
MatchPresenceEvent> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
joins
→ List<
UserPresence> -
The user presence that joined the match.
no setterinherited
-
leaves
→ List<
UserPresence> -
The user presence that left the match.
no setterinherited
- matchId → String
-
The match unique ID.
no setterinherited
- 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