ParticipantPermissionsUpdate class

Annotations
  • @Freezed(toJson: true)

Constructors

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

Properties

canAdmin → Update<Set<CanAdminPermission>>?
The kinds of admin tasks the participant is allowed to do.
no setterinherited
canSend → Update<Set<CanSendPermission>>?
The kinds of media the participant is allowed to send.
no setterinherited
copyWith → $ParticipantPermissionsUpdateCopyWith<ParticipantPermissionsUpdate>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hasPresence → Update<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

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, Update<Set<CanAdminPermission>>? canAdmin)?, required TResult orElse()}) → TResult
inherited
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
when<TResult extends Object?>({required TResult set(Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend, Update<Set<CanAdminPermission>>? canAdmin)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(Update<bool>? hasPresence, Update<Set<CanSendPermission>>? canSend, Update<Set<CanAdminPermission>>? canAdmin)?}) → TResult?
inherited

Operators

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

Constants

fromDefaults → const Update<ParticipantPermissionsUpdate>