copyWith method
UiSettings
copyWith(
{ - bool? isZoomControlsEnabled,
- int? zoomPosition,
- bool? isCompassEnabled,
- bool? isMyLocationButtonEnabled,
- bool? isScaleControlsEnabled,
- int? logoPosition,
- bool? isZoomGesturesEnabled,
- bool? isScrollGesturesEnabled,
- bool? isRotateGesturesEnabled,
- bool? isTiltGesturesEnabled,
})
Implementation
UiSettings copyWith({
bool? isZoomControlsEnabled,
int? zoomPosition,
bool? isCompassEnabled,
bool? isMyLocationButtonEnabled,
bool? isScaleControlsEnabled,
int? logoPosition,
bool? isZoomGesturesEnabled,
bool? isScrollGesturesEnabled,
bool? isRotateGesturesEnabled,
bool? isTiltGesturesEnabled,
}) {
return UiSettings(
isZoomControlsEnabled: isZoomControlsEnabled ?? this.isZoomControlsEnabled,
zoomPosition: zoomPosition ?? this.zoomPosition,
isCompassEnabled: isCompassEnabled ?? this.isCompassEnabled,
isMyLocationButtonEnabled: isMyLocationButtonEnabled ?? this.isMyLocationButtonEnabled,
isScaleControlsEnabled: isScaleControlsEnabled ?? this.isScaleControlsEnabled,
logoPosition: logoPosition ?? this.logoPosition,
isZoomGesturesEnabled: isZoomGesturesEnabled ?? this.isZoomGesturesEnabled,
isScrollGesturesEnabled: isScrollGesturesEnabled ?? this.isScrollGesturesEnabled,
isRotateGesturesEnabled: isRotateGesturesEnabled ?? this.isRotateGesturesEnabled,
isTiltGesturesEnabled: isTiltGesturesEnabled ?? this.isTiltGesturesEnabled,
);
}