ParticipantCounts class

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
  • @Freezed(copyWith: false)

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.
no setterinherited
hidden int
no setterinherited
present int
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
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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