Rotation constructor

Rotation(
  1. String _rotation
)

The Rotation Widget is very similar to Location but takes in just two directions for an entities rotation:

Implementation

Rotation(this._rotation);