factory AttributeList.fromMap(Map<String, dynamic> map) { return AttributeList( total: map['total'], attributes: map['attributes'], ); }