languageCodeDetailData top-level property
Implementation
Map<String, LanguageDetailData> languageCodeDetailData = () {
Map<String, LanguageDetailData> jsonData = {};
for (var element in languageCodeJson.entries) {
dynamic key = element.key;
dynamic value = element.value;
if (value is Map) {
if (key is String) {
jsonData[key] = LanguageDetailData(value);
}
}
}
return jsonData;
}.call();