changeKelvin method

Future<void> changeKelvin(
  1. String id,
  2. int kelvin
)

Implementation

Future<void> changeKelvin(String id, int kelvin) async {
  final res = await client.setState(
    Selector.id(id),
    color: LIFXColor(kelvin: kelvin),
  );
  print(res);
}