Attribute.fromJson constructor

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

Implementation

Attribute.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>();