endsWith method

bool endsWith(
  1. String other
)

Checks if the string ends with other.

Implementation

bool endsWith(String other) => valueString?.endsWith(other) ?? false;