toStackInstanceStatus method
Implementation
StackInstanceStatus toStackInstanceStatus() {
switch (this) {
case 'CURRENT':
return StackInstanceStatus.current;
case 'OUTDATED':
return StackInstanceStatus.outdated;
case 'INOPERABLE':
return StackInstanceStatus.inoperable;
}
throw Exception('$this is not known in enum StackInstanceStatus');
}