Implementation
const factory Participants({
/// The local participant.
required Participant local,
/// The set of remote participants (excluding the local participant).
@Default({})
@JsonKey(toJson: _participantMapToJson, fromJson: _participantMapFromJson)
Map<ParticipantId, Participant> remote,
/// The set of all participants (including the local participant).
@Default({})
@JsonKey(toJson: _participantMapToJson, fromJson: _participantMapFromJson)
Map<ParticipantId, Participant> all,
}) = _Participants;