WooProductItemAttribute.fromJson constructor

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

Implementation

WooProductItemAttribute.fromJson(Map<String, dynamic> json)
    : id = json['id'],
      name = json['name'],
      position = json['position'],
      visible = json['visible'],
      variation = json['variation'],
      options = json['options'].cast<String>();