isNotEmpty function

bool isNotEmpty (
  1. String s
)

Returns true if s is a not empty string.

Implementation

bool isNotEmpty(String s) => s != null && s.isNotEmpty;