shouldContainIgnoringCase method

void shouldContainIgnoringCase(
  1. String expected
)

Asserts that the value contains expected ignoring case sensitivity.

Implementation

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