dropWhile method Null safety
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);