removeNode method

bool removeNode(
  1. NodeId id, {
  2. int? timestampMs,
})

Implementation

bool removeNode(NodeId id, {int? timestampMs}) {
  final deleted = _core.commands.writeDeleteNode(id);
  if (!deleted) return false;
  _events.emitAction(ActionType.delete, <NodeId>[
    id,
  ], _resolveTimestampMs(timestampMs));
  return true;
}