toValue method
Implementation
String toValue() {
switch (this) {
case StreamStatus.creating:
return 'CREATING';
case StreamStatus.deleting:
return 'DELETING';
case StreamStatus.active:
return 'ACTIVE';
case StreamStatus.updating:
return 'UPDATING';
}
}