shouldEndWith method
Asserts that the value ends with expected
with case sensitivity.
Implementation
void shouldEndWith(String expected) {
expect(
this,
endsWith(expected),
reason: 'Expected the String $this to end with $expected',
);
}