endsWith function Null safety

Matcher endsWith(
  1. String suffixString
)

Returns a matcher that matches if the match argument is a string and ends with suffixString.

Implementation

Matcher endsWith(String suffixString) => _StringEndsWith(suffixString);