AudioDevice class
Audio device information
- Annotations
Constructors
- AudioDevice({required String id, required AudioSourceType type})
-
const
- AudioDevice.fromMap(Map map)
-
Create AudioDevice from JSON Map
factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → String
-
Unique device ID
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → AudioSourceType
-
Device type
final
Methods
-
copyWith(
{String? id, AudioSourceType? type}) → AudioDevice - Create a copy of AudioDevice
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Convert AudioDevice to JSON Map
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override