removeChildFromElement method

  1. @override
bool removeChildFromElement(
  1. Node parent,
  2. Node? child
)
override

Implementation

@override
bool removeChildFromElement(Node parent, Node? child) {
  if (parent is Element) {
    return parent.children.remove(child);
  }
  return false;
}