set method
channel - an integer from 0 to 31.
Set membership to layer, and remove membership all other layers.
Implementation
void set(int channel) => mask = (1 << channel | 0) >> 0;
channel - an integer from 0 to 31.
Set membership to layer, and remove membership all other layers.
void set(int channel) => mask = (1 << channel | 0) >> 0;