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