DestinyErrorProfile class
If a Destiny Profile can't be returned, but we're pretty certain it's a valid Destiny account, this will contain as much info as we can get about the profile for your use. Assume that the most you'll get is the Error Code, the Membership Type and the Membership ID.
- Annotations
-
- @JsonSerializable()
Constructors
- DestinyErrorProfile()
-
DestinyErrorProfile.fromJson(Map<
String, dynamic> json) -
factory
Properties
- errorCode ↔ PlatformErrorCodes?
-
The error that we encountered. You should be able to look up localized text to show to the user for these failures.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- infoCard ↔ UserInfoCard?
-
Basic info about the account that failed. Don't expect anything other than membership ID, Membership Type, and displayName to be populated.
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<DestinyErrorProfile>