SubscriptionSettingsUpdate class
Updates subscription settings for a remote participant or profile.
- Annotations
-
- @Freezed(toJson: true)
Constructors
-
SubscriptionSettingsUpdate.set({Update<
SubscriptionProfile> ? profile, Update<MediaSubscriptionSettingsUpdate> ? media}) -
Updates subscription settings for a remote participant or profile with specific values.
constfactory
Properties
-
copyWith
→ $SubscriptionSettingsUpdateCopyWith<
SubscriptionSettingsUpdate> -
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
-
media
→ Update<
MediaSubscriptionSettingsUpdate> ? -
no setterinherited
-
profile
→ Update<
SubscriptionProfile> ? -
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
map<
TResult extends Object?> ({required TResult set(_SubscriptionSettingsUpdate value)}) → TResult -
inherited
-
mapOrNull<
TResult extends Object?> ({TResult? set(_SubscriptionSettingsUpdate value)?}) → TResult? -
inherited
-
maybeMap<
TResult extends Object?> ({TResult set(_SubscriptionSettingsUpdate value)?, required TResult orElse()}) → TResult -
inherited
-
maybeWhen<
TResult extends Object?> ({TResult set(Update< SubscriptionProfile> ? profile, Update<MediaSubscriptionSettingsUpdate> ? media)?, 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< SubscriptionProfile> ? profile, Update<MediaSubscriptionSettingsUpdate> ? media)}) → TResult -
inherited
-
whenOrNull<
TResult extends Object?> ({TResult? set(Update< SubscriptionProfile> ? profile, Update<MediaSubscriptionSettingsUpdate> ? media)?}) → TResult? -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
fromDefaults
→ const Update<
SubscriptionSettingsUpdate> - Restores subscription settings for a remote participant or profile to their default values.