toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DynamicGroupStatus.active:
      return 'ACTIVE';
    case DynamicGroupStatus.building:
      return 'BUILDING';
    case DynamicGroupStatus.rebuilding:
      return 'REBUILDING';
  }
}