toValue method
Implementation
String toValue() {
  switch (this) {
    case ResourceTypeValues.volume:
      return 'VOLUME';
    case ResourceTypeValues.instance:
      return 'INSTANCE';
  }
}String toValue() {
  switch (this) {
    case ResourceTypeValues.volume:
      return 'VOLUME';
    case ResourceTypeValues.instance:
      return 'INSTANCE';
  }
}