childAfter method

ChildType childAfter (ChildType child)

The next child after the given child in the child list.

Implementation

ChildType childAfter(ChildType child) {
  assert(child != null);
  assert(child.parent == this);
  final ParentDataType childParentData = child.parentData;
  return childParentData.nextSibling;
}