operator ^ method Null safety

bool? operator ^(
  1. bool other
)

Implementation

bool? operator ^(bool other) => !other == value;