rotateHue method

  1. @override
HslColor rotateHue(
  1. num amount
)
override

Rotates the hue of this color by amount in degrees.

Implementation

@override
HslColor rotateHue(num amount) => withHue((hue + amount) % 360);