copyWith method

SearchState copyWith({
  1. bool? displayManualMarker,
  2. List<Feature>? places,
  3. List<Feature>? history,
})

Implementation

SearchState copyWith(
        {bool? displayManualMarker,
        List<Feature>? places,
        List<Feature>? history}) =>
    SearchState(
      displayManualMarker: displayManualMarker ?? this.displayManualMarker,
      places: places ?? this.places,
      history: history ?? this.history,
    );