factory Costmdls.fromJson(Map<String, dynamic> json) { return Costmdls({ for (final entry in json.entries) Language.fromName(entry.key): CostModel.fromJson(entry.value) }); }