remove method

void remove(
  1. covariant IndexedNode value
)
override

Remove a child value node from the children

Implementation

void remove(IndexedNode value) {
  final index = children.indexWhere((node) => node.key == value.key);
  if (index < 0) throw NodeNotFoundException(key: key);
  children.removeAt(index);
}