operator | method Null safety
- Interval other
Implementation
Interval operator |(Interval other) {
if (this == other) {
return this;
} else {
return this.join(other);
}
}
Interval operator |(Interval other) {
if (this == other) {
return this;
} else {
return this.join(other);
}
}