AttributeList.fromMap constructor
Implementation
factory AttributeList.fromMap(
Map<String, dynamic> map,
) {
map = {
'total': 0,
'attributes': [],
...map,
};
return AttributeList(
total: map['total'],
attributes: List.from(map['attributes'] ?? []),
);
}