sendBackward static method

Moves id one step toward the back within its sibling stack.

Implementation

static CanvasSceneDocument sendBackward(CanvasSceneDocument doc, NodeId id) {
  return _moveWithinCurrentParent(
    doc,
    id,
    targetIndexFor: (index, _) => index - 1,
  );
}