1. Dart
2. dart:core
3. String
4. endsWith abstract method

##### String class

1. Constructors
2. fromCharCode
3. fromCharCodes
4. fromEnvironment
5. Properties
6. codeUnits
7. hashCode
8. isEmpty
9. isNotEmpty
10. length
11. runes
12. runtimeType
13. Methods
14. allMatches
15. codeUnitAt
16. compareTo
17. contains
18. endsWith
19. indexOf
20. lastIndexOf
21. matchAsPrefix
22. noSuchMethod
23. padLeft
24. padRight
25. replaceAll
26. replaceAllMapped
27. replaceFirst
28. replaceFirstMapped
29. replaceRange
30. split
31. splitMapJoin
32. startsWith
33. substring
34. toLowerCase
35. toString
36. toUpperCase
37. trim
38. trimLeft
39. trimRight
40. Operators
41. operator *
42. operator +
43. operator ==
44. operator []

description

# endsWith method Null safety

bool endsWith (

1. String other

)

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

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

## Implementation

    bool endsWith(String other);