copyWith method
A copy of this value with the given members replaced.
Implementation
GeoJsonSourceOptions copyWith({
double? minZoom,
double? maxZoom,
double? tolerance,
double? clusterMaxZoom,
Object? clusterProperties = _unchanged,
int? buffer,
int? clusterRadius,
int? clusterMinPoints,
bool? lineMetrics,
bool? cluster,
}) => GeoJsonSourceOptions(
minZoom: minZoom ?? this.minZoom,
maxZoom: maxZoom ?? this.maxZoom,
tolerance: tolerance ?? this.tolerance,
clusterMaxZoom: clusterMaxZoom ?? this.clusterMaxZoom,
clusterProperties: identical(clusterProperties, _unchanged)
? this.clusterProperties
: clusterProperties,
buffer: buffer ?? this.buffer,
clusterRadius: clusterRadius ?? this.clusterRadius,
clusterMinPoints: clusterMinPoints ?? this.clusterMinPoints,
lineMetrics: lineMetrics ?? this.lineMetrics,
cluster: cluster ?? this.cluster,
);