addAll method Null safety

void addAll(
  1. List<ChildType>? children
)

Add all the children to the end of this render object's child list.

Implementation

void addAll(List<ChildType>? children) {
  children?.forEach(add);
}