getLights method
void
getLights()
Implementation
void getLights() async {
final List<LIFXBulb> bulbs = await client.listLights(Selector());
for (var bulb in bulbs) {
print('Light: ${bulb.label}');
print('ID: ${bulb.id}');
print('Power: ${bulb.power}');
print('brightness: ${bulb.brightness}');
print('Hue: ${bulb.color.hue}');
print('Kelvin: ${bulb.color.kelvin}');
print('Saturation: ${bulb.color.saturation}');
print('---');
}
}