copyWith method
Creates a new ClusterManager object whose values are the same as this instance, unless overwritten by the specified parameters.
Implementation
ClusterManager copyWith({
ArgumentCallback<Cluster>? onClusterTapParam,
}) {
return ClusterManager(
clusterManagerId: clusterManagerId,
onClusterTap: onClusterTapParam ?? onClusterTap,
);
}