ClassInfo constructor

ClassInfo(
  1. Map<String, dynamic> nativeClassInfo
)

Implementation

ClassInfo(Map<String, dynamic> nativeClassInfo) {
  this.country = Country.values[nativeClassInfo['country']];
  this.region = Region.values[nativeClassInfo['region']];
  this.type = Type.values[nativeClassInfo['type']];
  this.empty = nativeClassInfo['empty'];
  this.countryName = nativeClassInfo['countryName'];
  this.isoNumericCountryCode = nativeClassInfo['isoNumericCountryCode'];
  this.isoAlpha2CountryCode = nativeClassInfo['isoAlpha2CountryCode'];
  this.isoAlpha3CountryCode = nativeClassInfo['isoAlpha3CountryCode'];
}