WooShippingZoneLocation.fromJson constructor

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

Implementation

WooShippingZoneLocation.fromJson(Map<String, dynamic> json) {
  code = json['code'];
  type = json['type'];
  links = json['_links'] != null
      ? new WooShippingZoneLocationLinks.fromJson(json['_links'])
      : null;
}