Dart API Reference
dart:core
String
endsWith
endsWith
method
Returns true if this string ends with other. For example:
bool
endsWith
(
String
other
)
Returns true if this string ends with other. For example:
'Dart'.endsWith('t'); // true