containsOffset method Null safety
- int offset
Returns true
if this node contains character at specified offset
in
the document.
Implementation
bool containsOffset(int offset) {
final o = documentOffset;
return o <= offset && offset < o + length;
}