factory LocaleCode.fromMap(Map<String, dynamic> map) { return LocaleCode( code: map['code'].toString(), name: map['name'].toString(), ); }