addLeftChildNode method
void
addLeftChildNode()
add left child node
Implementation
void addLeftChildNode() {
MindMapNode node = MindMapNode();
node.setParentNode(this);
node.setTitle("New Node");
if (getNodeType() == NodeType.root && getRightItems().isNotEmpty) {
insertLeftItem(node, 0);
} else {
addLeftItem(node);
}
getMindMap()?.refresh();
if (!_isLoading) {
getMindMap()?.onChanged();
}
}