copyWith method
Creates a new HeatmapGradientColor object whose values are the same as this instance, unless overwritten by the specified parameters.
Implementation
HeatmapGradientColor copyWith({Color? colorParam, double? startPointParam}) {
return HeatmapGradientColor(
colorParam ?? color,
startPointParam ?? startPoint,
);
}