covers method
Return true
if this source range covers the otherRange
.
Implementation
bool covers(SourceRange otherRange) =>
offset <= otherRange.offset && otherRange.end <= end;
Return true
if this source range covers the otherRange
.
bool covers(SourceRange otherRange) =>
offset <= otherRange.offset && otherRange.end <= end;