textFrom method

String textFrom(
  1. String text
)

Extracts this span from text.

Implementation

String textFrom(String text) => text.substring(start, end);