shouldNotStartWithIgnoringCase method

void shouldNotStartWithIgnoringCase(
  1. String expected
)

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

Implementation

void shouldNotStartWithIgnoringCase(String expected) {
  expect(
    toLowerCase(),
    isNot(startsWith(expected.toLowerCase())),
    reason: 'Expected the String $this to not start with $expected',
  );
}