MediaTrackDeviceIdUpdate class

Updates device ID for a CallClient media track.

Annotations
  • @freezed

Constructors

MediaTrackDeviceIdUpdate.set({required DeviceId deviceId})
Sets the device ID to a specific value.
const
factory

Properties

copyWith → $MediaTrackDeviceIdUpdateCopyWith<MediaTrackDeviceIdUpdate>
no setterinherited
deviceId DeviceId
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

map<TResult extends Object?>({required TResult set(_MediaTrackDeviceIdUpdate value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? set(_MediaTrackDeviceIdUpdate value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult set(_MediaTrackDeviceIdUpdate value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult set(DeviceId deviceId)?, 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(DeviceId deviceId)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? set(DeviceId deviceId)?}) → TResult?
inherited

Operators

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

Constants

fromDefaults → const Update<DeviceId>
Restores the device ID to its default value.