MatchPresenceEvent constructor

const MatchPresenceEvent({
  1. required String matchId,
  2. required List<UserPresence> joins,
  3. 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;