containsRange method

bool containsRange(
  1. Range otherRange
)
inherited

Defines if this range contains otherRange entirely

Implementation

bool containsRange(Range otherRange) {
  return start <= otherRange.start && end >= otherRange.end;
}