remove method
從樹中刪除節點
Implementation
bool remove(TypeID id) {
final controller = _keys[id];
if (controller == null) {
return false;
}
controller._parent?._removeAndNotifyListeners(id);
_keys.remove(id);
return true;
}
從樹中刪除節點
bool remove(TypeID id) {
final controller = _keys[id];
if (controller == null) {
return false;
}
controller._parent?._removeAndNotifyListeners(id);
_keys.remove(id);
return true;
}