xor static method Null safety

bool xor(
  1. bool a,
  2. bool b
)

Implementation

static bool xor(bool a, bool b) {
  return !xand(a, b);
}