AudioDevices class

A class representing audio devices used in calls.

Example usage:

AudioDevices device = AudioDevices(id: "1", type: "speaker", name: "Speaker 1");

Constructors

AudioDevices({String? id, String? type, String? name})
Creates an instance of AudioDevices.
AudioDevices.fromJson(Map<String, dynamic> json)
Creates an instance of AudioDevices from a JSON object.
factory

Properties

hashCode → int
The hash code for this object.
no setterinherited
id ↔ String?
The AudioDevices class contains the following properties:
getter/setter pair
name ↔ String?
  • name: The name of the audio device.
  • getter/setter pair
    runtimeType → Type
    A representation of the runtime type of the object.
    no setterinherited
    type ↔ String?
  • type: The type of the audio device.
  • getter/setter pair

    Methods

    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    toJson() → Map<String, dynamic>
    Converts an AudioDevices object to a JSON map.
    toString() → String
    A string representation of this object.
    inherited

    Operators

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