toGeoMatchConstraintType method

GeoMatchConstraintType toGeoMatchConstraintType()

Implementation

GeoMatchConstraintType toGeoMatchConstraintType() {
  switch (this) {
    case 'Country':
      return GeoMatchConstraintType.country;
  }
  throw Exception('$this is not known in enum GeoMatchConstraintType');
}