WooOrderPayloadShipping.fromJson constructor

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

Implementation

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