shouldNotBeBlank method

void shouldNotBeBlank()

Asserts that the value is not blank.

Implementation

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