toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case GlobalEndpointTokenVersion.v1Token:
      return 'v1Token';
    case GlobalEndpointTokenVersion.v2Token:
      return 'v2Token';
  }
}