shouldNotEndWithIgnoringCase method

void shouldNotEndWithIgnoringCase(
  1. String expected
)

Asserts that the value doesn't end with expected ignoring case sensitivity.

Implementation

void shouldNotEndWithIgnoringCase(String expected) {
  expect(
    toLowerCase(),
    isNot(endsWith(expected.toLowerCase())),
    reason: 'Expected the String $this to not to end with $expected',
  );
}