copyWith method

GuestInfo copyWith({
  1. String? phone,
  2. String? fullName,
  3. String? email,
  4. String? contactId,
  5. bool? newContact,
  6. String? uuid,
  7. String? domain,
  8. String? browser,
  9. String? ip,
  10. String? address,
  11. String? lat,
  12. String? lon,
  13. OtherInfo? otherInfo,
})

Implementation

GuestInfo copyWith({
  String? phone,
  String? fullName,
  String? email,
  String? contactId,
  bool? newContact,
  String? uuid,
  String? domain,
  String? browser,
  String? ip,
  String? address,
  String? lat,
  String? lon,
  OtherInfo? otherInfo,
}) =>
    GuestInfo(
      phone: phone ?? this.phone,
      fullName: fullName ?? this.fullName,
      email: email ?? this.email,
      contactId: contactId ?? this.contactId,
      newContact: newContact ?? this.newContact,
      uuid: uuid ?? this.uuid,
      domain: domain ?? this.domain,
      browser: browser ?? this.browser,
      ip: ip ?? this.ip,
      address: address ?? this.address,
      lat: lat ?? this.lat,
      lon: lon ?? this.lon,
      otherInfo: otherInfo ?? this.otherInfo,
    );