toChangeAction method
Implementation
ChangeAction toChangeAction() {
switch (this) {
case 'ADD':
return ChangeAction.add;
case 'MODIFY':
return ChangeAction.modify;
case 'REMOVE':
return ChangeAction.remove;
}
throw Exception('$this is not known in enum ChangeAction');
}