copyWith method
Creates a new GroundOverlay object whose values are the same as this instance, unless overwritten by the specified parameters.
Implementation
GroundOverlay copyWith({
double? bearingParam,
double? transparencyParam,
int? zIndexParam,
bool? visibleParam,
bool? clickableParam,
VoidCallback? onTapParam,
}) {
return GroundOverlay._(
groundOverlayId: groundOverlayId,
bearing: bearingParam ?? bearing,
transparency: transparencyParam ?? transparency,
zIndex: zIndexParam ?? zIndex,
visible: visibleParam ?? visible,
clickable: clickableParam ?? clickable,
onTap: onTapParam ?? onTap,
image: image,
position: position,
bounds: bounds,
width: width,
height: height,
anchor: anchor,
zoomLevel: zoomLevel,
);
}