updateCopy method

GroundOverlay updateCopy({
  1. double? bearing,
  2. bool? clickable,
  3. double? width,
  4. double? height,
  5. BitmapDescriptor? imageDescriptor,
  6. LatLng? position,
  7. LatLngBounds? bounds,
  8. Offset? anchor,
  9. double? transparency,
  10. bool? visible,
  11. double? zIndex,
  12. VoidCallback? onClick,
})

Implementation

GroundOverlay updateCopy({
  double? bearing,
  bool? clickable,
  double? width,
  double? height,
  BitmapDescriptor? imageDescriptor,
  LatLng? position,
  LatLngBounds? bounds,
  Offset? anchor,
  double? transparency,
  bool? visible,
  double? zIndex,
  VoidCallback? onClick,
}) {
  return GroundOverlay(
    groundOverlayId: groundOverlayId,
    bearing: bearing ?? this.bearing,
    clickable: clickable ?? this.clickable,
    width: width ?? this.width,
    height: height ?? this.height,
    imageDescriptor: imageDescriptor ?? this.imageDescriptor,
    position: position ?? this.position,
    bounds: bounds ?? this.bounds,
    anchor: anchor ?? this.anchor,
    transparency: transparency ?? this.transparency,
    visible: visible ?? this.visible,
    zIndex: zIndex ?? this.zIndex,
    onClick: onClick ?? this.onClick,
  );
}