ParticipantPermissions class

Annotations
  • @freezed

Constructors

ParticipantPermissions({required bool hasPresence, required Set<CanSendPermission> canSend, required Set<CanAdminPermission> canAdmin})
const
factory
ParticipantPermissions.fromJson(Map<String, dynamic> json)
factory

Properties

canAdmin Set<CanAdminPermission>
The kinds of admin tasks the participant is allowed to do.
no setterinherited
canSend Set<CanSendPermission>
The kinds of media the participant is allowed to send.
no setterinherited
copyWith → $ParticipantPermissionsCopyWith<ParticipantPermissions>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasPresence bool
Whether the participant has presence (i.e. whether they show up in others' participants()).
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