Xor2Gate constructor

Xor2Gate(
  1. Logic in0,
  2. Logic in1, {
  3. String name = 'xor',
})

Calculates the XOR of in0 and in1.

Implementation

Xor2Gate(Logic in0, Logic in1, {String name = 'xor'})
    : super((a, b) => a ^ b, '^', in0, in1, name: name);