toInterface static method

AddressInterface toInterface(
  1. Address address
)

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,
    );