IndexBuilder constructor

IndexBuilder({
  1. bool multihashSorted = false,
})

Creates an IndexBuilder with the given multihashSorted format flag.

When multihashSorted is true the index is emitted as MultihashIndexSorted (0x0401); otherwise it is emitted as IndexSorted (0x0400).

Implementation

IndexBuilder({this.multihashSorted = false});