toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RegistrationStatus.registered:
      return 'REGISTERED';
    case RegistrationStatus.deprecated:
      return 'DEPRECATED';
  }
}