toggle method

Future<void> toggle({
  1. required String id,
})

This method is used to activate the led channel(s). The led will be turned on statically.

Implementation

Future<void> toggle({
  required String id,
}) async {
  return await GlyphInterfaceSdkPlatform.instance.toggle(id: id);
}