factory Locale.fromJson(Map<String, dynamic> json) { return Locale( country: json['Country'] as String, subdivision: json['Subdivision'] as String?, ); }