SubscriptionProfileUpdate class

Updates the subscription profile that is set for a remote participant.

Annotations
  • @Freezed(toJson: false)

Constructors

SubscriptionProfileUpdate.set({required SubscriptionProfile profile})
Sets the remote participant's profile.
const
factory

Properties

copyWith → $SubscriptionProfileUpdateCopyWith<SubscriptionProfileUpdate>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
profile SubscriptionProfile
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult set(_SubscriptionProfileUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_SubscriptionProfileUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_SubscriptionProfileUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(SubscriptionProfile profile)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult set(SubscriptionProfile profile)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(SubscriptionProfile profile)?}) → TResult?
inherited

Operators

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

Constants

fromDefaults → const Update<SubscriptionProfileUpdate>
Restores the remote participant's profile to the default (SubscriptionProfile.base).