textContent property

String textContent

Get text content based on the start and end

Implementation

String get textContent {
  return text.substring(start, end);
}