toggle method
Implementation
@override
Future<void> toggle({
required List<Phone2Led> channels,
}) async {
final builderId = await super.sdkInterface.builder();
for (final channel in channels) {
await super.sdkInterface.channel(id: builderId, channel: channel.value);
}
await super.sdkInterface.build(id: builderId);
await super.sdkInterface.toggle(id: builderId);
}