shouldStartWithIgnoringCase method

void shouldStartWithIgnoringCase(
  1. String expected
)

Asserts that the value starts with expected ignoring case sensitivity.

Implementation

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