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