Handles an action invocation and deletes the target path.
@override Object onInvoke(Map params) { provider.removeNode(targetPath); if (onDelete != null) { onDelete!(); } return Object; }