Device class

Describes a single media input or output device.

Annotations

Constructors

Device({required DeviceId deviceId, required DeviceGroupId groupId, required DeviceKind kind, required String label})
const
factory
Device.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $DeviceCopyWith<Device>
read-onlyinherited
deviceId DeviceId
Identifier for the represented device that is persistent across application launches.
read-onlyinherited
groupId DeviceGroupId
read-onlyinherited
hashCode int
The hash code for this object.
read-onlyinherited
kind DeviceKind
The type of this device.
read-onlyinherited
label String
A label describing the device, eg. "External USB Webcam"
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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