clone method

HeatmapGradient clone()

Creates a new HeatmapGradient object whose values are the same as this instance.

Implementation

HeatmapGradient clone() => copyWith(
      colorsParam: List<HeatmapGradientColor>.of(colors),
    );