rotateHue method

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

Rotates the hue of this color by amount in degrees.

Implementation

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