DestinyMilestoneContentResponse class

Represents localized, extended content related to Milestones. This is intentionally returned by a separate endpoint and not with Character-level Milestone data because we do not put localized data into standard Destiny responses, both for brevity of response and for caching purposes. If you really need this data, hit the Milestone Content endpoint.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

DestinyMilestoneContentResponse({DestinyMilestoneContent? response, PlatformErrorCodes? errorCode, int? throttleSeconds, String? errorStatus, String? message, Map<String, String>? messageData, String? detailedErrorTrace})
DestinyMilestoneContentResponse.fromJson(Map<String, dynamic> json)
factory

Properties

detailedErrorTrace String?
getter/setter pairinherited
errorCode PlatformErrorCodes?
getter/setter pairinherited
errorStatus String?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
message String?
getter/setter pairinherited
messageData Map<String, String>?
getter/setter pairinherited
response DestinyMilestoneContent?
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
throttleSeconds int?
getter/setter pairinherited

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<DestinyMilestoneContentResponse>