Rotates an object by degrees.
degrees
bool rotateBy(String id, double degrees) { final object = objectById(id); if (object == null) return false; return setRotation(id, object.rotation + degrees); }