toValue method

String toValue()

Implementation

String toValue() {
  switch (this) {
    case PatchAction.allowAsDependency:
      return 'ALLOW_AS_DEPENDENCY';
    case PatchAction.block:
      return 'BLOCK';
  }
}