skipLastWhile method Null safety

Characters skipLastWhile(
  1. bool test(
    1. String
    )
)

Eagerly selects a leading sequence of characters.

Checks each character, from last to first, against test, until one is found where test returns false. The characters up to and including the one with the latest index where test returns false are included in the result.

If no characters test false, the empty sequence of character is returned.

Implementation

Characters skipLastWhile(bool Function(String) test);