toGeoMatchLevel method

GeoMatchLevel toGeoMatchLevel()

Implementation

GeoMatchLevel toGeoMatchLevel() {
  switch (this) {
    case 'Country':
      return GeoMatchLevel.country;
    case 'AreaCode':
      return GeoMatchLevel.areaCode;
  }
  throw Exception('$this is not known in enum GeoMatchLevel');
}