trimRight method Null safety

String trimRight()

The string without any trailing whitespace.

As trim, but only removes trailing whitespace.

Implementation

String trimRight();