Rotation.x constructor

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

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

Implementation

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