toValue method
Implementation
String toValue() {
switch (this) {
case Stage.production:
return 'PRODUCTION';
case Stage.beta:
return 'BETA';
case Stage.development:
return 'DEVELOPMENT';
case Stage.experimental:
return 'EXPERIMENTAL';
case Stage.pullRequest:
return 'PULL_REQUEST';
}
}