getOperationType static method
Implementation
static OperationType? getOperationType(int? operationValue) {
switch (operationValue) {
case 1:
return OperationType.INSERT;
case 2:
return OperationType.UPDATE;
case 3:
return OperationType.DELETE;
case 5:
return OperationType.SNAPSHOT;
}
return null;
}