updateAddressCity method

PatientContact updateAddressCity(
  1. String city
)

Implementation

PatientContact updateAddressCity(String city) => address == null
    ? copyWith(address: Address(city: city))
    : copyWith(address: address!.updateCity(city));