SequenceNode.root constructor Null safety

SequenceNode.root(
  1. bool isUid
)

Creates a root node with true in isUid if this belongs to a UID sequence.

Root nodes can occur anywhere in a nested sequence node unless it has been flatttened. Compare flatten(int depth)

Implementation

SequenceNode.root(this.isUid) : id = -1;