shouldNotBeNullOrBlank method
void
shouldNotBeNullOrBlank()
Asserts that the value is not null nor blank.
Implementation
void shouldNotBeNullOrBlank() {
expect(
this?.trim().isNotEmpty ?? false,
isTrue,
reason: 'Expected String to not to be blank or null, but was $this',
);
}