DestinyDisplayPropertiesDefinition class
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.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyDisplayPropertiesDefinition()
-
DestinyDisplayPropertiesDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description ↔ String?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasIcon ↔ bool?
-
getter/setter pair
- highResIcon ↔ String?
-
If this item has a high-res icon (at least for now, many things won't), then the path to that icon will be here.
getter/setter pair
- icon ↔ String?
-
Note that "icon" is sometimes misleading, and should be interpreted in the context of the entity. For instance, in Destiny 1 the DestinyRecordBookDefinition's icon was a big picture of a book.
But usually, it will be a small square image that you can use as... well, an icon.
They are currently represented as 96px x 96px images.
getter/setter pair
-
iconSequences
↔ List<
DestinyIconSequenceDefinition> ? -
getter/setter pair
- name ↔ String?
-
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<DestinyDisplayPropertiesDefinition>