setLEDColor method
Sets the LED color of the Nimmsta device.
color defines the desired Color to set.
Implementation
@override
Future<void> setLEDColor(Color color) async {
return await _methodChannel.invokeMethod("setLEDColor", {
"r": (color.r * 255).floor(),
"g": (color.g * 255).floor(),
"b": (color.b * 255).floor()
});
}