PlayerExtraInfo class
A class that includes the additional information of a player
when the getPlayerExtraInfo
method of PlayersClient is called.
Constructors
- PlayerExtraInfo({bool? isAdult, String? playerId, String? openId, int? playerDuration, bool? isRealName})
- PlayerExtraInfo.fromMap(Map map)
-
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAdult ↔ bool?
-
Indicates whether a player is an adult.
getter/setter pair
- isRealName ↔ bool?
-
Indicates whether a player is a real-name player.
getter/setter pair
- openId ↔ String?
-
OpenId of the current player.
getter/setter pair
- playerDuration ↔ int?
-
Played time of a player on the current day, in minutes.
If the time is less than 1 minute, 1 minute is returned.
getter/setter pair
- playerId ↔ String?
-
ID of the current player.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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