DestinyItemTalentGridBlockDefinition class
This defines information that can only come from a talent grid on an item. Items mostly have negligible talent grid data these days, but instanced items still retain grids as a source for some of this common information. Builds/Subclasses are the only items left that still have talent grids with meaningful Nodes.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyItemTalentGridBlockDefinition()
-
DestinyItemTalentGridBlockDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- buildName ↔ String?
-
A shortcut string identifier for the "build" in question, if this talent grid has an associated build. Doesn't map to anything we can expose at the moment.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hudDamageType ↔ DamageType?
-
If the talent grid implies a damage type, this is the enum value for that damage type.
getter/setter pair
- hudIcon ↔ String?
-
If the talent grid has a special icon that's shown in the game UI (like builds, funny that), this is the identifier for that icon. Sadly, we don't actually get that icon right now. I'll be looking to replace this with a path to the actual icon itself.
getter/setter pair
- itemDetailString ↔ String?
-
This is meant to be a subtitle for looking at the talent grid. In practice, somewhat frustratingly, this always merely says the localized word for "Details". Great. Maybe it'll have more if talent grids ever get used for more than builds and subclasses again.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- talentGridHash ↔ int?
-
The hash identifier of the DestinyTalentGridDefinition attached to this item.
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<DestinyItemTalentGridBlockDefinition>