Rotation.z constructor

const Rotation.z([
  1. int n = 1
])

Creates an instance of Rotation class to rotate n times on Axis.z.

Implementation

const Rotation.z([int n = 1]) : this(axis: Axis.x, n: n);