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