MatchPresenceEvent constructor
const
MatchPresenceEvent({
- required String matchId,
- required List<
UserPresence> joins, - required List<
UserPresence> leaves,
Implementation
const factory MatchPresenceEvent({
/// The match unique ID.
required String matchId,
/// The user presence that joined the match.
required List<UserPresence> joins,
/// The user presence that left the match.
required List<UserPresence> leaves,
}) = _MatchPresenceEvent;