DestinyMilestoneResponse class
Represents a runtime instance of a user's milestone status. Live Milestone data should be combined with DestinyMilestoneDefinition data to show the user a picture of what is available for them to do in the game, and their status in regards to said "things to do." Consider it a big, wonky to-do list, or Advisors 3.0 for those who remember the Destiny 1 API.
- Inheritance
-
- Object
- BungieNetResponse<
DestinyMilestone> - DestinyMilestoneResponse
- Annotations
-
- @JsonSerializable()
Constructors
-
DestinyMilestoneResponse({DestinyMilestone? response, PlatformErrorCodes? errorCode, int? throttleSeconds, String? errorStatus, String? message, Map<
String, String> ? messageData, String? detailedErrorTrace}) -
DestinyMilestoneResponse.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 ↔ DestinyMilestone?
-
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<DestinyMilestoneResponse>