expandWhile abstract method

void expandWhile(
  1. bool test(
    1. String
    )
)

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);