textInside method Null safety

String textInside(
  1. String text
)

The text inside this range.

Implementation

String textInside(String text) {
  assert(isNormalized);
  return text.substring(start, end);
}