String toString()

Returns a string representation of this object.

Source

String toString() {
  return identical(this.previousIndex, this.currentIndex)
      ? stringify(this.item)
      : stringify(this.item) +
          "[" +
          stringify(this.previousIndex) +
          "->" +
          stringify(this.currentIndex) +
          "]";
}