endsWith abstract method

bool endsWith(
  1. Characters other
)

Whether this string ends with the characters of other.

Returns true if other the characters of other are also the last characters of this string, and false otherwise.

Implementation

bool endsWith(Characters other);