ParticipantPermissionsUpdate class Null safety

Annotations

Constructors

ParticipantPermissionsUpdate.set({Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend})
const
factory

Properties

canSend → Update<Set<CanSendPermission>>?
The kinds of media the participant is allowed to send.
read-onlyinherited
copyWith → $ParticipantPermissionsUpdateCopyWith<ParticipantPermissionsUpdate>
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
hasPresence → Update<bool>?
Whether the participant has presence (i.e. whether they show up in others' participants()).
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

map<TResult extends Object?>({required TResult set(_ParticipantPermissionsUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_ParticipantPermissionsUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_ParticipantPermissionsUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend)?, required TResult orElse()}) → TResult
inherited
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
when<TResult extends Object?>({required TResult set(Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend)?}) → TResult?
inherited

Operators

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

Constants

fromDefaults → const Update<ParticipantPermissionsUpdate>
UpdateFromDefaults.instance