Participants class
The set of Participants in a CallClient call.
- Annotations
-
- @Freezed(fromJson: false)
Constructors
-
Participants({required Participant local, @Default({}) @JsonKey(toJson: _participantMapToJson, fromJson: _participantMapFromJson) Map<
ParticipantId, Participant> remote, @Default({}) @JsonKey(toJson: _participantMapToJson, fromJson: _participantMapFromJson) Map<ParticipantId, Participant> all}) -
constfactory
-
Participants.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
all
→ Map<
ParticipantId, Participant> -
The set of all participants (including the local participant).
no setterinherited
-
copyWith
→ $ParticipantsCopyWith<
Participants> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- local → Participant
-
The local participant.
no setterinherited
-
remote
→ Map<
ParticipantId, Participant> -
The set of remote participants (excluding the local participant).
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
-
removeParticipant(
Participant participant) → Participants -
toString(
) → String -
A string representation of this object.
inherited
-
upsertParticipant(
Participant updatedParticipant) → Participants
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited