toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GeoSpatialDataRole.country:
      return 'COUNTRY';
    case GeoSpatialDataRole.state:
      return 'STATE';
    case GeoSpatialDataRole.county:
      return 'COUNTY';
    case GeoSpatialDataRole.city:
      return 'CITY';
    case GeoSpatialDataRole.postcode:
      return 'POSTCODE';
    case GeoSpatialDataRole.longitude:
      return 'LONGITUDE';
    case GeoSpatialDataRole.latitude:
      return 'LATITUDE';
  }
}