toValue method
Implementation
String toValue() {
switch (this) {
case ArtifactCategory.screenshot:
return 'SCREENSHOT';
case ArtifactCategory.file:
return 'FILE';
case ArtifactCategory.log:
return 'LOG';
}
}
String toValue() {
switch (this) {
case ArtifactCategory.screenshot:
return 'SCREENSHOT';
case ArtifactCategory.file:
return 'FILE';
case ArtifactCategory.log:
return 'LOG';
}
}