Billing.fromJson constructor

Billing.fromJson(
  1. Map<String, dynamic> json
)

Implementation

Billing.fromJson(Map<String, dynamic> json) {
  firstName = json['first_name'];
  lastName = json['last_name'];
  company = json['company'];
  address1 = json['address_1'];
  address2 = json['address_2'];
  city = json['city'];
  state = json['state'];
  postcode = json['postcode'];
  country = json['country'];
  email = json['email'];
  phone = json['phone'];
}