BillingDetails.from constructor

BillingDetails.from(
  1. Map json
)

Convert Map to BillingDetails

Implementation

BillingDetails.from(Map json)
    : givenNames = json['givenNames'],
      surname = json['surname'],
      email = json['email'],
      mobileNumber = json['mobileNumber'],
      phoneNumber = json['phoneNumber'],
      address = Address.from(json['address']);