toValue method
Implementation
String toValue() {
switch (this) {
case ResourceType.gpu:
return 'GPU';
case ResourceType.inferenceAccelerator:
return 'InferenceAccelerator';
}
}
String toValue() {
switch (this) {
case ResourceType.gpu:
return 'GPU';
case ResourceType.inferenceAccelerator:
return 'InferenceAccelerator';
}
}