ConstraintRotationToNodeRotation(Node targetNode, { double baseRotation: 0.0, double dampening })

Creates a new constraint that copies a node's rotation, optionally with a baseRotation added and using dampening.

Source

ConstraintRotationToNodeRotation(this.targetNode, { this.baseRotation: 0.0, this.dampening });