getOperationType static method

OperationType? getOperationType(
  1. int? operationValue
)

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;
}