copyWith method

OctaGeoCoderEntity copyWith({
  1. int? placeId,
  2. String? licence,
  3. String? osmType,
  4. int? osmId,
  5. String? lat,
  6. String? lon,
  7. int? placeRank,
  8. String? category,
  9. String? type,
  10. double? importance,
  11. String? addresstype,
  12. String? name,
  13. String? displayName,
  14. Address? address,
  15. List<String>? boundingbox,
})

Implementation

OctaGeoCoderEntity copyWith({
  int? placeId,
  String? licence,
  String? osmType,
  int? osmId,
  String? lat,
  String? lon,
  int? placeRank,
  String? category,
  String? type,
  double? importance,
  String? addresstype,
  String? name,
  String? displayName,
  Address? address,
  List<String>? boundingbox,
}) =>
    OctaGeoCoderEntity(
      placeId: placeId ?? this.placeId,
      licence: licence ?? this.licence,
      osmType: osmType ?? this.osmType,
      osmId: osmId ?? this.osmId,
      lat: lat ?? this.lat,
      lon: lon ?? this.lon,
      placeRank: placeRank ?? this.placeRank,
      category: category ?? this.category,
      type: type ?? this.type,
      importance: importance ?? this.importance,
      addresstype: addresstype ?? this.addresstype,
      name: name ?? this.name,
      displayName: displayName ?? this.displayName,
      address: address ?? this.address,
      boundingbox: boundingbox ?? this.boundingbox,
    );