string/ends_with library

Functions

endsWith(String string, String target, [int? position]) bool
Checks if the given string ends with the specified target string.