copyWith method
GeoformState
copyWith({
- GeoformContext? context,
- MapController? mapController,
- AnimationController? animationController,
- LatLng? currentMapPosition,
- List<
FastMarker> ? markers, - bool? manual,
- TapPosition? tapPosition,
- String? regionName,
- bool? isDownloading,
- MapProvider? mapProvider,
- bool? isActionActivated,
Implementation
GeoformState copyWith({
GeoformContext? context,
MapController? mapController,
AnimationController? animationController,
LatLng? currentMapPosition,
List<FastMarker>? markers,
bool? manual,
TapPosition? tapPosition,
String? regionName,
bool? isDownloading,
MapProvider? mapProvider,
bool? isActionActivated,
}) {
return GeoformState._(
context: context ?? this.context,
mapController: mapController ?? this.mapController,
animationController: animationController ?? this.animationController,
currentMapPosition: currentMapPosition ?? this.currentMapPosition,
markers: markers ?? this.markers,
manual: manual ?? this.manual,
tapPosition: tapPosition ?? this.tapPosition,
regionName: regionName ?? this.regionName,
isDownloading: isDownloading ?? this.isDownloading,
mapProvider: mapProvider ?? this.mapProvider,
isActionActivated: isActionActivated ?? this.isActionActivated,
);
}