toggle method

void toggle(
  1. int channel
)

Implementation

void toggle(int channel) => mask ^= 1 << channel | 0;