rotateHue method

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

Rotates the hue of this color by amount in degrees.

Implementation

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