DeviceId class

A high level abstract identifier for an audio input/output device.

Annotations
  • @Freezed(toJson: false, fromJson: false)

Constructors

DeviceId(String id)
const
factory
DeviceId.fromJson(String value)
factory

Properties

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

Methods

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

Operators

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

Constants

bluetooth → const DeviceId
earpiece → const DeviceId
speakerPhone → const DeviceId
wired → const DeviceId