toInterface static method
convert a Address to a AddressInterface
Implementation
static AddressInterface toInterface(
  Address address,
) =>
    AddressInterface(
      formatted: address.formatted,
      streetAddress: address.streetAddress,
      locality: address.locality,
      region: address.region,
      postalCode: address.postalCode,
      country: address.country,
    );