shouldNotContainIgnoringCase method

void shouldNotContainIgnoringCase(
  1. String expected
)

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

Implementation

void shouldNotContainIgnoringCase(String expected) {
  expect(
    toLowerCase().contains(expected.toLowerCase()),
    isFalse,
    reason: 'Expected the String $this to not to contain $expected',
  );
}