Devices class

Describes available media input and output devices.

Annotations
  • @freezed

Constructors

Devices({required List<Device> camera, required List<Device> microphone, required List<Device> speaker, required List<Device> audio})
const
factory
Devices.empty()
factory
Devices.fromJson(Map<String, dynamic> json)
factory

Properties

audio List<Device>
List of all available input/output audio devices.
no setterinherited
camera List<Device>
List of all available camera devices.
no setterinherited
copyWith → $DevicesCopyWith<Devices>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
ids Set<DeviceId>
A list of all device IDs in this Devices.
no setter
microphone List<Device>
List of all available input audio devices.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
speaker List<Device>
List of all available output audio devices.
no setterinherited

Methods

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

Operators

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