toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case RequiresRecreation.never:
      return 'Never';
    case RequiresRecreation.conditionally:
      return 'Conditionally';
    case RequiresRecreation.always:
      return 'Always';
  }
}