textBefore method

String textBefore (String text)

The text before this range.

Implementation

String textBefore(String text) {
  assert(isNormalized);
  return text.substring(0, start);
}