clone method

  1. @override
Heatmap clone()
override

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

Implementation

@override
Heatmap clone() => copyWith(
      dataParam: List<WeightedLatLng>.of(data),
      gradientParam: gradient?.clone(),
    );