WooTaxClass.fromJson constructor

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

Implementation

WooTaxClass.fromJson(Map<String, dynamic> json) {
  slug = json['slug'];
  name = json['name'];
  links = json['_links'] != null
      ? new WooTaxClassLinks.fromJson(json['_links'])
      : null;
}