textAfter method Null safety

String textAfter(
  1. String text
)

The text after this range.

Implementation

String textAfter(String text) {
  assert(isNormalized);
  return text.substring(end);
}