DestinyEventCardDefinition class

Defines the properties of an 'Event Card' in Destiny 2, to coincide with a seasonal event for additional challenges, premium rewards, a new seal, and a special title. For example: Solstice of Heroes 2022.

Annotations
  • @JsonSerializable()

Properties

color DestinyColor?
Represents a color whose RGBA values are all represented as values between 0 and 255.
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
endTime String?
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
images DestinyEventCardImages?
getter/setter pair
index int?
The index of the entity as it was found in the investment tables.
getter/setter pair
linkRedirectPath String?
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
sealPresentationNodeHash int?
getter/setter pair
ticketCurrencyItemHash int?
getter/setter pair
ticketVendorCategoryHash int?
getter/setter pair
ticketVendorHash int?
getter/setter pair
triumphsPresentationNodeHash int?
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<DestinyEventCardDefinition>