Returns true if this string ends with other. For example:
other
'Dart'.endsWith('t'); // true
bool endsWith(String other) => value.endsWith(other);