DestinyPlayer class

Annotations
  • @JsonSerializable()

Constructors

DestinyPlayer()
DestinyPlayer.fromJson(Map<String, dynamic> json)
factory

Properties

bungieNetUserInfo UserInfoCard?
Details about the player as they are known on BungieNet. This will be undefined if the player has marked their credential private, or does not have a BungieNet account.
getter/setter pair
characterClass String?
Class of the character if applicable and available.
getter/setter pair
characterLevel int?
Level of the character if available. Zero if it is not available.
getter/setter pair
clanName String?
Current clan name for the player. This value may be null or an empty string if the user does not have a clan.
getter/setter pair
clanTag String?
Current clan tag for the player. This value may be null or an empty string if the user does not have a clan.
getter/setter pair
classHash int?
getter/setter pair
destinyUserInfo UserInfoCard?
Details about the player as they are known in game (platform display name, Destiny emblem)
getter/setter pair
emblemHash int?
If we know the emblem's hash, this can be used to look up the player's emblem at the time of a match when receiving PGCR data, or otherwise their currently equipped emblem (if we are able to obtain it).
getter/setter pair
genderHash int?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
lightLevel int?
Light Level of the character if available. Zero if it is not available.
getter/setter pair
raceHash int?
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<DestinyPlayer>