length property
int
length
The length of the word, calculated from start and end dynamically.
Implementation
int get length => end - start + 1;
The length of the word, calculated from start and end dynamically.
int get length => end - start + 1;