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