toDynamicGroupStatus method
Implementation
DynamicGroupStatus toDynamicGroupStatus() {
switch (this) {
case 'ACTIVE':
return DynamicGroupStatus.active;
case 'BUILDING':
return DynamicGroupStatus.building;
case 'REBUILDING':
return DynamicGroupStatus.rebuilding;
}
throw Exception('$this is not known in enum DynamicGroupStatus');
}