toChangeAction method
Implementation
ChangeAction toChangeAction() {
switch (this) {
case 'Add':
return ChangeAction.add;
case 'Modify':
return ChangeAction.modify;
case 'Remove':
return ChangeAction.remove;
case 'Import':
return ChangeAction.import;
case 'Dynamic':
return ChangeAction.dynamic;
}
throw Exception('$this is not known in enum ChangeAction');
}