DestinyEntitySearchResultItem class

An individual Destiny Entity returned from the entity search.

Annotations
  • @JsonSerializable()

Properties

displayProperties DestinyDisplayPropertiesDefinition?
Basic display properties on the entity, so you don't have to look up the definition to show basic results for the item.
getter/setter pair
entityType String?
The type of entity, returned as a string matching the DestinyDefinition's contract class name. You'll have to have your own mapping from class names to actually looking up those definitions in the manifest databases.
getter/setter pair
hash int?
The hash identifier of the entity. You will use this to look up the DestinyDefinition relevant for the entity found.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
weight double?
The ranking value for sorting that we calculated using our relevance formula. This will hopefully get better with time and iteration.
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<DestinyEntitySearchResultItem>