Locale.fromJson constructor

Locale.fromJson(
  1. Map<String, dynamic> json
)

Implementation

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