shouldNotContain method

void shouldNotContain(
  1. String expected
)

Asserts that the value does not contain expected with case sensitivity.

Implementation

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