DestinyActivityPlaylistItemDefinition class
If the activity is a playlist, this is the definition for a specific entry in the playlist: a single possible combination of Activity and Activity Mode that can be chosen.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyActivityPlaylistItemDefinition()
-
DestinyActivityPlaylistItemDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- activityHash ↔ int?
-
The hash identifier of the Activity that can be played. Use it to look up the DestinyActivityDefinition.
getter/setter pair
-
activityModeHashes
↔ List<
int> ? -
The hash identifiers for Activity Modes relevant to this entry.
getter/setter pair
-
activityModeTypes
↔ List<
DestinyActivityModeType> ? -
The activity modes - if any - in enum form. Because we can't seem to escape the enums.
getter/setter pair
- directActivityModeHash ↔ int?
-
If this playlist entry had an activity mode directly defined on it, this will be the hash of that mode.
getter/setter pair
- directActivityModeType ↔ int?
-
If the playlist entry had an activity mode directly defined on it, this will be the enum value of that mode.
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
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<DestinyActivityPlaylistItemDefinition>