DestinySeasonPreviewDefinition class
Defines the promotional text, images, and links to preview this season.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinySeasonPreviewDefinition()
-
DestinySeasonPreviewDefinition.fromJson(Map<
String, dynamic> json) -
factory
Properties
- description ↔ String?
-
A localized description of the season.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
images
↔ List<
DestinySeasonPreviewImageDefinition> ? -
A list of images to preview the seasonal content. Should have at least three to show.
getter/setter pair
- linkPath ↔ String?
-
A relative path to learn more about the season. Web browsers should be automatically redirected to the user's Bungie.net locale. For example: "/SeasonOfTheChosen" will redirect to "/7/en/Seasons/SeasonOfTheChosen" for English users.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- videoLink ↔ String?
-
An optional link to a localized video, probably YouTube.
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<DestinySeasonPreviewDefinition>