toValue method
Implementation
String toValue() {
switch (this) {
case MultiplexState.creating:
return 'CREATING';
case MultiplexState.createFailed:
return 'CREATE_FAILED';
case MultiplexState.idle:
return 'IDLE';
case MultiplexState.starting:
return 'STARTING';
case MultiplexState.running:
return 'RUNNING';
case MultiplexState.recovering:
return 'RECOVERING';
case MultiplexState.stopping:
return 'STOPPING';
case MultiplexState.deleting:
return 'DELETING';
case MultiplexState.deleted:
return 'DELETED';
}
}