class Language { final int id; final String flag; final String name; final String languageCode; Language(this.id, this.flag, this.name, this.languageCode); static List languageList() { return [ Language(1, "🇦🇫", "فارسی", "fa"), Language(2, "🇺🇸", "English", "en"), Language(3, "🇺🇸", "Español", "es"), Language(4, "🇮🇳", "हिंदी", "hi"), ]; } }