toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GeoRestrictionType.blacklist:
      return 'blacklist';
    case GeoRestrictionType.whitelist:
      return 'whitelist';
    case GeoRestrictionType.none:
      return 'none';
  }
}