rotateDegrees method
Rotates by angleDegrees
degrees (0 to 360 one turn), clockwise.
If you define an origin it will have that point as the axis of rotation.
Implementation
Matrix4Transform rotateDegrees(double angleDegrees, {Offset? origin}) =>
rotate(_toRadians(angleDegrees), origin: origin);