shouldNotBeEmpty method

void shouldNotBeEmpty()

Asserts that the value is not empty.

Implementation

void shouldNotBeEmpty() {
  expect(
    this.isNotEmpty,
    isTrue,
    reason: 'Expected String to not to be empty, but was $this',
  );
}