hasLength method

bool hasLength(
  1. String value
)

Implementation

bool hasLength(String value) {
  return value != null && value.length > 0;
}