rotateHue method

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

Rotates the hue of this color by amount in degrees.

Implementation

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