LeadState.fromBytes constructor

LeadState.fromBytes(
  1. int state1,
  2. int state2
)

Implementation

LeadState.fromBytes(int state1, int state2)
    : list = [
        _checkBit(state1, 1), //ra
        true, //rl
        _checkBit(state2, 1), //la
        _checkBit(state2, 2), //ll
        _checkBit(state2, 7), //v1
        _checkBit(state2, 3), //v2
        _checkBit(state2, 4), //v3
        _checkBit(state2, 5), //v4
        _checkBit(state2, 6), //v5
        _checkBit(state2, 0) //v6
      ];