mapFromJson static method
Implementation
static Map<String, Dialect?> mapFromJson(Map<String, dynamic> json) {
final map = <String, Dialect?>{};
if (json.isNotEmpty == true) {
json.forEach((key, value) => map[key] = Dialect.fromJson(value));
}
return map;
}