MapLocale constructor

const MapLocale(
  1. String languageCode,
  2. Map<String, dynamic> mapData, {
  3. String? countryCode,
  4. String? fontFamily,
  5. String? scriptCode,
})

Constructor of the model.

Implementation

const MapLocale(
  this.languageCode,
  this.mapData, {
  this.countryCode,
  this.fontFamily,
  this.scriptCode,
}) : assert(languageCode != '');