Devices class Null safety
Describes available media input and output devices.
- Annotations
Constructors
-
Devices({required List<
Device> camera, required List<Device> microphone, required List<Device> speaker}) -
constfactory
- Devices.empty()
-
factory
-
Devices.fromIterable(Iterable<
Device> devices) -
factory
-
Devices.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
camera
→ List<
Device> -
read-onlyinherited
-
copyWith
→ $DevicesCopyWith<
Devices> -
read-onlyinherited
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
ids
→ Set<
DeviceId> -
A list of all device IDs in this Devices.
read-only
-
microphone
→ List<
Device> -
read-onlyinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
-
speaker
→ List<
Device> -
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