or method
Performs a logical or
operation between this Boolean and the other
one. Unlike the ||
operator,
Implementation
// this function does not perform short-circuit evaluation. Both `this` and [other] will always be evaluated.
bool? or(bool other) {
if (this == null || other == null) return null;
return this! || other;
}