public native endsWith(suffix as String) as Boolean
Returns true if this string ends with the provided suffix.
True when this string ends with suffix.
assert "image.png".endsWith(".png")