Returns true if this string ends with other. For example:
other
'Dart'.endsWith('t'); // true
bool? endsWith(String other) { return value?.endsWith(other); }