toValue method
Implementation
String toValue() {
switch (this) {
case WebhookBuildType.build:
return 'BUILD';
case WebhookBuildType.buildBatch:
return 'BUILD_BATCH';
}
}
String toValue() {
switch (this) {
case WebhookBuildType.build:
return 'BUILD';
case WebhookBuildType.buildBatch:
return 'BUILD_BATCH';
}
}