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