setCycles method

Future<void> setCycles({
  1. required String id,
  2. required int cycles,
})

This method is used to set the number of cycles of the led channel(s).

Implementation

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