LanguageList.fromMap constructor

LanguageList.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory LanguageList.fromMap(Map<String, dynamic> map) {
  return LanguageList(
    total: map['total'],
    languages:
        List<Language>.from(map['languages'].map((p) => Language.fromMap(p))),
  );
}