static bool isValidString(String? str) { if (str == null || str.trim() == '') return false; return true; }