ParticipantCounts class Null safety

Counts for participants in a call. present refers to all participants in a call who appear in participants(). They have their hasPresence permission set to true. Present participants can be seen by others, and therefore can share their media (mic, camera, etc.) with others.

hidden participants are those who are absent from participants(). They have their hasPresence permission set to false. Hidden participants can't be seen by others, and therefore can't share their media.

The sum of present and hidden values will be the total number of participants joined in a call.

Annotations

Constructors

ParticipantCounts({required int present, required int hidden})
const
factory
ParticipantCounts.fromJson(Map<String, dynamic> json)
factory

Properties

hashCode int
The hash code for this object.
read-onlyinherited
hidden int
read-onlyinherited
present int
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited