static String? getNameFromJsonKey(String theString) { var declare = theString.split(')').last.trim().split(' '); if (declare.length > 1) return declare.last; return null; }