toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PatchOperationType.scan:
      return 'Scan';
    case PatchOperationType.install:
      return 'Install';
  }
}