takeLastWhile method Null safety
Eagerly selects a trailing sequence of characters.
Checks each character, from last to first, against test,
until one is found where test returns false.
The characters after the one with the latest index where
test returns false are included in the result.
If no characters test false, the entire sequence of character
is returned.
Implementation
Characters takeLastWhile(bool Function(String) test);