updatePosition method
Update the position of a child by its ID.
Implementation
CanvasChildId updatePosition(CanvasChildId id, Offset newPosition) {
if (_children.containsKey(id)) {
_children[id]!.gsPosition = newPosition;
markDirty();
return id;
} else {
throw _ChildNotFoundException;
}
}