setInterval method

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

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

Implementation

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