Node.deleted constructor Null safety

Node.deleted()

Creates a Node that never does anything.

These are returned when calling createChild on a deleted Node.

Implementation

Node.deleted()
    : _writer = null,
      _parent = null,
      _name = null,
      index = invalidIndex;