toOperationType method
Implementation
OperationType toOperationType() {
switch (this) {
case 'INSERT':
return OperationType.insert;
case 'MODIFY':
return OperationType.modify;
case 'REMOVE':
return OperationType.remove;
}
throw Exception('$this is not known in enum OperationType');
}