interpolate method

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

Interpolates to step between this and end.

Implementation

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