GamePlayerStatistics class
A class that includes the statistics information of a player
when the getGamePlayerStatistics
method of GamePlayerStatisticsClient is called.
Constructors
- GamePlayerStatistics({double? averageOnLineMinutes, int? daysFromLastGame, int? paymentTimes, int? onlineTimes, int? totalPurchasesAmountRange})
- GamePlayerStatistics.fromMap(Map map)
-
factory
Properties
- averageOnLineMinutes ↔ double?
-
Average session duration of a player, in minutes.
getter/setter pair
- daysFromLastGame ↔ int?
-
Number of days elapsed since a player last played.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- onlineTimes ↔ int?
-
Number of sessions for a player.
getter/setter pair
- paymentTimes ↔ int?
-
Number of in-app purchases for a player.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- totalPurchasesAmountRange ↔ int?
-
Spending rank of a player. The options are as follows:
1: no spending
2: less than US$10
3: US$10 or more and less than US$50
4: US$50 or more and less than US$300
5: US$300 or more and less than US$1000
6: more than US$1000
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