shouldNotStartWith method

void shouldNotStartWith(
  1. String expected
)

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

Implementation

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