bool isEmptyString(String? str) { if (str == null || str.isEmpty) { return true; } return false; }