operator | method

bool operator |(
  1. bool other
)

See the bool documentation

Implementation

bool operator |(bool other) => other | value;