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