DestinyActivityGraphNodeActivityDefinition class
The actual activity to be redirected to when you click on the node. Note that a node can have many Activities attached to it: but only one will be active at any given time. The list of Node Activities will be traversed, and the first one found to be active will be displayed. This way, a node can layer multiple variants of an activity on top of each other. For instance, one node can control the weekly Crucible Playlist. There are multiple possible playlists, but only one is active for the week.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyActivityGraphNodeActivityDefinition()
-
DestinyActivityGraphNodeActivityDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityHash ↔ int?
-
The activity that will be activated if the user clicks on this node. Controls all activity-related information displayed on the node if it is active (the text shown in the tooltip etc)
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- nodeActivityId ↔ int?
-
An identifier for this node activity. It is only guaranteed to be unique within the Activity Graph.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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<DestinyActivityGraphNodeActivityDefinition>