fromMap method

FPayPalShippingAddress fromMap(
  1. Map<String, dynamic> data
)

Implementation

FPayPalShippingAddress fromMap(Map<String, dynamic> data) {
  setMap(data);

  addressLine1 = getString("addressLine1");
  addressLine2 = getString("addressLine2");
  adminArea1 = getString("adminArea1");
  adminArea2 = getString("adminArea2");
  postalCode = getString("postalCode");
  countryCode = getString("countryCode");

  return this;
}