copyWith method

BranderMapState copyWith({
  1. List<MapCluster>? mapClusters,
  2. Marker? userMarker,
  3. bool? shouldAnimateCamera,
})

Implementation

BranderMapState copyWith({
  List<MapCluster>? mapClusters,
  Marker? userMarker,
  bool? shouldAnimateCamera,
}) {
  return BranderMapState(
    mapClusters: mapClusters ?? this.mapClusters,
    userMarker: userMarker ?? this.userMarker,
    shouldAnimateCamera: shouldAnimateCamera ?? this.shouldAnimateCamera,
  );
}