isEnabled method

bool isEnabled(
  1. int channel
)

Implementation

bool isEnabled(int channel) => (mask & (1 << channel | 0)) != 0;