toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case DeprecatedStatus.live:
      return 'LIVE';
    case DeprecatedStatus.deprecated:
      return 'DEPRECATED';
  }
}