operator | method

bool operator |(
  1. bool other
)

Implementation

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