copyWith method

Place copyWith({
  1. LatLng? latLng,
  2. String? title,
  3. String? address,
})

Implementation

Place copyWith({
  LatLng? latLng,
  String? title,
  String? address,
}) {
  return Place(
    latLng ?? this.latLng,
    address ?? this.address,
    title ?? this.title,
  );
}