toPatchSet method

PatchSet toPatchSet()

Implementation

PatchSet toPatchSet() {
  switch (this) {
    case 'OS':
      return PatchSet.os;
    case 'APPLICATION':
      return PatchSet.application;
  }
  throw Exception('$this is not known in enum PatchSet');
}