Snake constructor

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

Implementation

Snake(this.originIndex, this.revisedIndex, this.previousNode);