copyWith method

OrderDeliveryAddress copyWith({
  1. String? street1,
  2. String? street2,
  3. String? zip,
  4. String? city,
  5. String? state,
  6. String? country,
  7. String? countryCode,
  8. String? informations,
  9. String? phone,
  10. String? phoneCode,
  11. num? placeCatId,
  12. num? oowoo,
  13. num? lng,
  14. num? lat,
  15. String? utcModifier,
  16. num? frequentationDensity,
  17. num? roadtype,
})

Implementation

OrderDeliveryAddress copyWith({
  String? street1,
  String? street2,
  String? zip,
  String? city,
  String? state,
  String? country,
  String? countryCode,
  String? informations,
  String? phone,
  String? phoneCode,
  num? placeCatId,
  num? oowoo,
  num? lng,
  num? lat,
  String? utcModifier,
  num? frequentationDensity,
  num? roadtype,
}) =>
    OrderDeliveryAddress(
      street1: street1 ?? this.street1,
      street2: street2 ?? this.street2,
      zip: zip ?? this.zip,
      city: city ?? this.city,
      state: state ?? this.state,
      country: country ?? this.country,
      countryCode: countryCode ?? this.countryCode,
      informations: informations ?? this.informations,
      phone: phone ?? this.phone,
      phoneCode: phoneCode ?? this.phoneCode,
      placeCatId: placeCatId ?? this.placeCatId,
      oowoo: oowoo ?? this.oowoo,
      lng: lng ?? this.lng,
      lat: lat ?? this.lat,
      utcModifier: utcModifier ?? this.utcModifier,
      frequentationDensity: frequentationDensity ?? this.frequentationDensity,
      roadtype: roadtype ?? this.roadtype,
    );