toValue method
Implementation
String toValue() {
switch (this) {
case StreamStatus.enabling:
return 'ENABLING';
case StreamStatus.enabled:
return 'ENABLED';
case StreamStatus.disabling:
return 'DISABLING';
case StreamStatus.disabled:
return 'DISABLED';
}
}