toValue method
Implementation
String toValue() {
switch (this) {
case Status.available:
return 'AVAILABLE';
case Status.creating:
return 'CREATING';
case Status.failed:
return 'FAILED';
}
}
String toValue() {
switch (this) {
case Status.available:
return 'AVAILABLE';
case Status.creating:
return 'CREATING';
case Status.failed:
return 'FAILED';
}
}