copyWith method
BranderMapState
copyWith({
- List<
MapCluster> ? mapClusters, - Marker? userMarker,
- 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,
);
}