toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DevicePoolType.curated:
      return 'CURATED';
    case DevicePoolType.private:
      return 'PRIVATE';
  }
}