Whether the string is empty or null
bool isEmptyOrNullString(String? text) { return ['', null].contains(text); }