dropWhile abstract method

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

Drops characters from the start of the range while they satisfy test.

Iterates the characters of the current range from the start and removes all the iterated characters until one is reached for which test returns false. If on such character is found, all characters are removed, which gives the same effect as collapseToEnd.

Implementation

void dropWhile(bool Function(String) test);