copyWith method
A copy of this value with the given members replaced.
Implementation
OfflineGeometryRegionDefinition copyWith({
String? styleUrl,
Object? geometry = _unchanged,
double? minZoom,
double? maxZoom,
double? pixelRatio,
bool? includeIdeographs,
}) => OfflineGeometryRegionDefinition(
styleUrl: styleUrl ?? this.styleUrl,
geometry: identical(geometry, _unchanged) ? this.geometry : geometry,
minZoom: minZoom ?? this.minZoom,
maxZoom: maxZoom ?? this.maxZoom,
pixelRatio: pixelRatio ?? this.pixelRatio,
includeIdeographs: includeIdeographs ?? this.includeIdeographs,
);