interpolate method

  1. @override
OklabColor interpolate(
  1. ColorModel end,
  2. double step
)

Interpolates to step between this and end.

Implementation

@override
OklabColor interpolate(cm.ColorModel end, double step) {
  assert(step >= 0.0 && step <= 1.0);
  return super.interpolate(end, step).cast();
}