endsWith abstract method Null safety
- String other
Whether this string ends with other
.
For example:
const string = 'Dart is open source';
print(string.endsWith('urce')); // true
Implementation
bool endsWith(String other);
Whether this string ends with other
.
For example:
const string = 'Dart is open source';
print(string.endsWith('urce')); // true
bool endsWith(String other);