copyWith method

NmPropertyMarkerData copyWith({
  1. String? id,
  2. double? latitude,
  3. double? longitude,
  4. NmMapLayerType? layerType,
  5. String? address,
  6. double? fviScore,
  7. double? price,
  8. bool? isSelected,
})

Copy with.

Implementation

NmPropertyMarkerData copyWith({
  String? id,
  double? latitude,
  double? longitude,
  NmMapLayerType? layerType,
  String? address,
  double? fviScore,
  double? price,
  bool? isSelected,
}) {
  return NmPropertyMarkerData(
    id: id ?? this.id,
    latitude: latitude ?? this.latitude,
    longitude: longitude ?? this.longitude,
    layerType: layerType ?? this.layerType,
    address: address ?? this.address,
    fviScore: fviScore ?? this.fviScore,
    price: price ?? this.price,
    isSelected: isSelected ?? this.isSelected,
  );
}