copyWith method

OfflineGeometryRegionDefinition copyWith({
  1. String? styleUrl,
  2. Object? geometry = _unchanged,
  3. double? minZoom,
  4. double? maxZoom,
  5. double? pixelRatio,
  6. bool? includeIdeographs,
})

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,
);