api.dart.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic. Learn more.
Whether this string ends with other.
other
For example:
const string = 'Dart is open source'; print(string.endsWith('urce')); // true
bool endsWith(String other);