Attributes.fromJson constructor
Implementation
factory Attributes.fromJson(Map<String, dynamic> json) {
var attributes = Attributes.empty();
json.forEach((key, value) {
attributes.add(Attribute.fromObject(key, value));
});
return attributes;
}