Device.fromJson constructor
Implementation
Device.fromJson(Map<String, dynamic> json) {
name = json['Name'];
type = json['Type'];
direction = json['Direction'];
deviceName = json['Device Name'];
defaultStr = json['Default'];
defaultMultimedia = json['Default Multimedia'];
defaultCommunications = json['Default Communications'];
deviceState = json['Device State'];
muted = json['Muted'];
volumeDB = json['Volume dB'];
volumePercent = json['Volume Percent'];
minVolumeDB = json['Min Volume dB'];
maxVolumeDB = json['Max Volume dB'];
volumeStep = json['Volume Step'];
channelsCount = json['Channels Count'];
channelsDB = json['Channels dB'];
channelsPercent = json['Channels Percent'];
itemID = json['Item ID'];
commandLineFriendlyID = json['Command-Line Friendly ID'];
processPath = json['Process Path'];
processID = json['Process ID'];
windowTitle = json['Window Title'];
registryKey = json['Registry Key'];
listen = true;
}