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