dart / 1 / dart-core / string / endswith.html

endsWith abstract method

bool endsWith(String other)

Returns true if this string ends with other. For example:

'Dart'.endsWith('t'); // true

Source

bool endsWith(String other);

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-core/String/endsWith.html