add method Null safety

void add(
  1. ChildType child
)

Append child to the end of this render object's child list.

Implementation

void add(ChildType child) {
  insert(child, after: _lastChild);
}