DeviceVolumeDataChanged.fromEvent constructor
DeviceVolumeDataChanged.fromEvent(
- String data
Implementation
factory DeviceVolumeDataChanged.fromEvent(String data) {
var json = jsonDecode(data);
return DeviceVolumeDataChanged(
volume: json['volume'], isMuted: json['isMuted']);
}