Whether the string ends with a pattern in the string without ANSI escape codes.
bool endsWith(String other) => _requirePlainString.endsWith(other);