WooProductShippingClass.fromJson constructor

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

Implementation

WooProductShippingClass.fromJson(Map<String, dynamic> json) {
  id = json['id'];
  name = json['name'];
  slug = json['slug'];
  description = json['description'];
  count = json['count'];
  links = json['_links'] != null
      ? new WooProductShippingClassLinks.fromJson(json['_links'])
      : null;
}