toGrouping method
Implementation
Grouping toGrouping() {
switch (this) {
case 'QUEUE':
return Grouping.queue;
case 'CHANNEL':
return Grouping.channel;
}
throw Exception('$this is not known in enum Grouping');
}
Grouping toGrouping() {
switch (this) {
case 'QUEUE':
return Grouping.queue;
case 'CHANNEL':
return Grouping.channel;
}
throw Exception('$this is not known in enum Grouping');
}