takeWhile method Null safety
Eagerly selects a leading sequence of characters.
Checks each character, from first to last, against
until one is found where
The characters up to, but not including, the first one
false are included in the result.
If no characters test
false, the entire sequence of character
@override Characters takeWhile(bool Function(String) test);