expandWhile method Null safety
Expands the range with the following characters satisfying test
.
Iterates through the characters following the current range
and includes them into the range until finding a character that
test
returns false
for.
Implementation
void expandWhile(bool Function(String) test);