containsRange method
Defines if this range contains otherRange
entirely
Implementation
bool containsRange(Range otherRange) {
return start <= otherRange.start && end >= otherRange.end;
}
Defines if this range contains otherRange
entirely
bool containsRange(Range otherRange) {
return start <= otherRange.start && end >= otherRange.end;
}