toPatchAction method

PatchAction toPatchAction()

Implementation

PatchAction toPatchAction() {
  switch (this) {
    case 'ALLOW_AS_DEPENDENCY':
      return PatchAction.allowAsDependency;
    case 'BLOCK':
      return PatchAction.block;
  }
  throw Exception('$this is not known in enum PatchAction');
}