AudioDevices.fromJson constructor
Creates an AudioDevices instance from a JSON map.
json
: The JSON map containing the audio device data.
Returns an instance of AudioDevices.
Implementation
factory AudioDevices.fromJson(Map<String, dynamic> json) => AudioDevices(
id: json["id"],
type: json["type"],
name: json["name"],
);