toConsumerStatus method
Implementation
ConsumerStatus toConsumerStatus() {
switch (this) {
case 'CREATING':
return ConsumerStatus.creating;
case 'DELETING':
return ConsumerStatus.deleting;
case 'ACTIVE':
return ConsumerStatus.active;
}
throw Exception('$this is not known in enum ConsumerStatus');
}