Rotation.y constructor

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

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

Implementation

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