append method Null safety

void append(
  1. Node node
)

Implementation

void append(Node node) => nodes.add(node);