toPatchOperationType method
Implementation
PatchOperationType toPatchOperationType() {
switch (this) {
case 'Scan':
return PatchOperationType.scan;
case 'Install':
return PatchOperationType.install;
}
throw Exception('$this is not known in enum PatchOperationType');
}