detach method

void detach()

Implementation

void detach() {
  assert(_owner != null);
  _owner = null;
  for (final child in _children) {
    child.detach();
  }
}