copyWith method

RasterSourceProperties copyWith(
  1. String? url,
  2. List<String>? tiles,
  3. List<double>? bounds,
  4. double? minzoom,
  5. double? maxzoom,
  6. double? tileSize,
  7. String? scheme,
  8. String? attribution,
)

Implementation

RasterSourceProperties copyWith(
  String? url,
  List<String>? tiles,
  List<double>? bounds,
  double? minzoom,
  double? maxzoom,
  double? tileSize,
  String? scheme,
  String? attribution,
) {
  return RasterSourceProperties(
    url: url ?? this.url,
    tiles: tiles ?? this.tiles,
    bounds: bounds ?? this.bounds,
    minzoom: minzoom ?? this.minzoom,
    maxzoom: maxzoom ?? this.maxzoom,
    tileSize: tileSize ?? this.tileSize,
    scheme: scheme ?? this.scheme,
    attribution: attribution ?? this.attribution,
  );
}