Player class
A class that includes the details about a player.
Constructors
Properties
- accessToken ↔ String?
-
Access token of a player.
getter/setter pair
- displayName ↔ String?
-
Player nickname displayed in the game.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHiResImage ↔ bool?
-
Indicates whether a player has an HD profile picture.
getter/setter pair
- hasIconImage ↔ bool?
-
Indicates Whether a player has an icon-size profile picture.
getter/setter pair
- hiResImageUri ↔ String?
-
URI of the HD profile picture of a player.
If the player does not have an HD profile picture, this method returns null.
getter/setter pair
- iconImageUri ↔ String?
-
Obtains the URI of the icon-size profile picture of a player.
The URI needs to be obtained only when the hasIconImage field is true.
getter/setter pair
- level ↔ int?
-
Obtains the player level information.
getter/setter pair
- openId ↔ String?
-
OpenId of a player.
getter/setter pair
- openIdSign ↔ String?
-
Signature string.
getter/setter pair
- playerId ↔ String?
-
Player ID.
getter/setter pair
- playerSign ↔ String?
-
Sign-in signature string.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signTs ↔ String?
-
Timestamp string.
getter/setter pair
- unionId ↔ String?
-
UnionId of a player.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited