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