rotateHue method

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

Rotates the hue of this color by amount in degrees.

Implementation

@override
RgbColor rotateHue(num amount) => super.rotateHue(amount).cast();