getOperationValue static method

int? getOperationValue(
  1. OperationType? operationType
)

Implementation

static int? getOperationValue(OperationType? operationType) {
  switch (operationType) {
    case OperationType.INSERT:
      return 1;
    case OperationType.UPDATE:
      return 2;
    case OperationType.DELETE:
      return 3;
    case OperationType.SNAPSHOT:
      return 5;
  }
  return null;
}