shouldBeBlank method

void shouldBeBlank()

Asserts that the value is blank.

Implementation

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