copyWith method

OfflineTilePyramidRegionDefinition copyWith({
  1. String? styleUrl,
  2. LatLngBounds? bounds,
  3. double? minZoom,
  4. double? maxZoom,
  5. double? pixelRatio,
  6. bool? includeIdeographs,
})

A copy of this value with the given members replaced.

Implementation

OfflineTilePyramidRegionDefinition copyWith({
  String? styleUrl,
  LatLngBounds? bounds,
  double? minZoom,
  double? maxZoom,
  double? pixelRatio,
  bool? includeIdeographs,
}) => OfflineTilePyramidRegionDefinition(
  styleUrl: styleUrl ?? this.styleUrl,
  bounds: bounds ?? this.bounds,
  minZoom: minZoom ?? this.minZoom,
  maxZoom: maxZoom ?? this.maxZoom,
  pixelRatio: pixelRatio ?? this.pixelRatio,
  includeIdeographs: includeIdeographs ?? this.includeIdeographs,
);