isEmpty function

bool isEmpty (String s)

Returns true if s is either null or empty.

Implementation

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