DestinyCollectibleDefinition class

Defines a

Annotations
  • @JsonSerializable()

Properties

acquisitionInfo DestinyCollectibleAcquisitionBlock?
getter/setter pair
displayProperties DestinyDisplayPropertiesDefinition?
Many Destiny*Definition contracts - the "first order" entities of Destiny that have their own tables in the Manifest Database - also have displayable information. This is the base class for that display information.
getter/setter pair
hash int?
The unique identifier for this entity. Guaranteed to be unique for the type of entity, but not globally. When entities refer to each other in Destiny content, it is this hash that they are referring to.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
index int?
The index of the entity as it was found in the investment tables.
getter/setter pair
itemHash int?
getter/setter pair
parentNodeHashes List<int>?
A quick reference to presentation nodes that have this node as a child. Presentation nodes can be parented under multiple parents.
getter/setter pair
presentationInfo DestinyPresentationChildBlock?
getter/setter pair
presentationNodeType DestinyPresentationNodeType?
getter/setter pair
redacted bool?
If this is true, then there is an entity with this identifier/type combination, but BNet is not yet allowed to show it. Sorry!
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scope DestinyScope?
Indicates whether the state of this Collectible is determined on a per-character or on an account-wide basis.
getter/setter pair
sourceHash int?
This is a hash identifier we are building on the BNet side in an attempt to let people group collectibles by similar sources. I can't promise that it's going to be 100% accurate, but if the designers were consistent in assigning the same source strings to items with the same sources, it ought to be. No promises though. This hash also doesn't relate to an actual definition, just to note: we've got nothing useful other than the source string for this data.
getter/setter pair
sourceString String?
A human readable string for a hint about how to acquire the item.
getter/setter pair
stateInfo DestinyCollectibleStateBlock?
getter/setter pair
traitHashes List<int>?
getter/setter pair
traitIds List<String>?
getter/setter pair

Methods

asyncToJson() Future<Map<String, dynamic>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

asyncFromJson(Map<String, dynamic> json) Future<DestinyCollectibleDefinition>