CastMediaVolume.fromMap constructor
Creates a CastMediaVolume from a map.
map
- The map to create the instance from.
Implementation
factory CastMediaVolume.fromMap(Map<String, dynamic> map) {
return CastMediaVolume(
map['level'],
map['muted'],
);
}