disable method

void disable(
  1. int channel
)

channel - an integer from 0 to 31.

Remove membership of this layer.

Implementation

void disable(int channel) => mask &= ~(1 << channel | 0);