Rotation.rel constructor

Rotation.rel({
  1. double x = 0,
  2. double y = 0,
})

Implementation

Rotation.rel({this.x = 0, this.y = 0})
    : _rotation =
          '~${x == 0 ? '' : x.toString()} ~${y == 0 ? '' : y.toString()}';