isNotEmpty function

bool isNotEmpty(
  1. String? str
)

str != null && str.isNotEmpty

Implementation

bool isNotEmpty(String? str) {
  return str != null && str.isNotEmpty;
}