operator | method

bool? operator |(
  1. bool other
)

Implementation

bool? operator |(bool other) {
  if (value != null) {
    return other || value!;
  }
  return null;
}