Dart SDK
dart:core
String
endsWith
method
endsWith
String
Properties
length
hashCode
isEmpty
isNotEmpty
codeUnits
runes
Constructors
fromCharCodes
fromCharCode
fromEnvironment
Operators
operator []
operator ==
operator +
operator *
Methods
codeUnitAt
endsWith
startsWith
indexOf
lastIndexOf
substring
trim
trimLeft
trimRight
padLeft
padRight
contains
replaceFirst
replaceFirstMapped
replaceAll
replaceAllMapped
replaceRange
split
splitMapJoin
toLowerCase
toUpperCase
matchAsPrefix
allMatches
compareTo
bool
endsWith
(
String
other
)
Returns true if this string ends with other. For example:
'Dart'.endsWith('t'); // true