BlogLocale.fromMap constructor
This is will help us to create object from Map
Implementation
factory BlogLocale.fromMap(Map<String, dynamic> map) {
return BlogLocale(
language: map['language'] ?? '',
country: map['country'] ?? '',
variant: map['variant'] ?? '',
);
}