copyWith method

GeoformState copyWith({
  1. GeoformContext? context,
  2. MapController? mapController,
  3. AnimationController? animationController,
  4. LatLng? currentMapPosition,
  5. List<FastMarker>? markers,
  6. bool? manual,
  7. TapPosition? tapPosition,
  8. String? regionName,
  9. bool? isDownloading,
  10. MapProvider? mapProvider,
  11. 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,
  );
}