class TranslationsModel{ int id; String kr; String br; String pt; String nl; String hr; String fa; String de; String es; String fr; String ja; String it; String cn; TranslationsModel( {this.id, this.kr, this.br, this.pt, this.nl, this.hr, this.fa, this.de, this.es, this.fr, this.ja, this.it, this.cn}); factory TranslationsModel.fromJson(Map json) => TranslationsModel( id: json["id"], kr: json["kr"], br: json["br"], pt: json["pt"], nl: json["nl"], hr: json["hr"], fa: json["fa"], de: json["de"], es: json["es"], fr: json["fr"], ja: json["ja"], it: json["it"], cn: json["cn"], ); Map toJson() => { "id": id, "kr": kr, "br": br, "pt": pt, "nl": nl, "hr": hr, "fa": fa, "de": de, "es": es, "fr": fr, "ja": ja, "it": it, "cn": cn, }; }