setParent method

  1. @protected
void setParent(
  1. Iterable<ContentItem?> children
)

Sets the parent content item for the given list of children.

Implementation

@protected
void setParent(Iterable<ContentItem?> children) {
  for (final child in children) {
    child?.parent = this;
  }
}