isEmpty function

bool isEmpty(
  1. String? s
)

Returns true if s is either null or empty.

Implementation

bool isEmpty(String? s) => s == null || s.isEmpty;