toValue method
Implementation
String toValue() {
switch (this) {
case ResourceType.gpu:
return 'GPU';
case ResourceType.vcpu:
return 'VCPU';
case ResourceType.memory:
return 'MEMORY';
}
}
String toValue() {
switch (this) {
case ResourceType.gpu:
return 'GPU';
case ResourceType.vcpu:
return 'VCPU';
case ResourceType.memory:
return 'MEMORY';
}
}