WooShippingZone.fromJson constructor

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

Implementation

WooShippingZone.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  order = json['order'];
  links = json['_links'] != null
      ? new WooShippingZoneLinks.fromJson(json['_links'])
      : null;
}