mergeAddress function

Address mergeAddress(
  1. Address a,
  2. Address b
)

Implementation

Address mergeAddress(Address a, Address b) {
  return Address(
      city: a.city ?? b.city,
      country: a.country ?? b.country,
      postalCode: a.postalCode ?? b.postalCode,
      state: a.state ?? b.state,
      street: a.street ?? b.street);
}