updateCopy method

TileOverlay updateCopy({
  1. dynamic tileProvider,
  2. bool? fadeIn,
  3. double? transparency,
  4. bool? visible,
  5. double? zIndex,
  6. String? type,
})

Implementation

TileOverlay updateCopy({
  dynamic tileProvider,
  bool? fadeIn,
  double? transparency,
  bool? visible,
  double? zIndex,
  String? type,
}) {
  return TileOverlay(
    tileOverlayId: tileOverlayId,
    tileProvider: tileProvider ?? this.tileProvider,
    fadeIn: fadeIn ?? this.fadeIn,
    transparency: transparency ?? this.transparency,
    visible: visible ?? this.visible,
    zIndex: zIndex ?? this.zIndex,
  );
}