DiffNode constructor

DiffNode(
  1. int originIndex,
  2. int revisedIndex,
  3. PathNode? previousNode
)

Implementation

DiffNode(this.originIndex, this.revisedIndex, PathNode? previousNode)
    : previousNode = previousNode?.previousSnake;