operator [] method Null safety

SequenceNode operator [](
  1. int index
)

Retrieves the child node at the given index

Implementation

SequenceNode operator [](int index) => children[index];