StatsResponse class
A third party stats resource.
Constructors
- StatsResponse({double? avgSessionLengthMinutes, double? churnProbability, int? daysSinceLastPlayed, double? highSpenderProbability, String? kind, int? numPurchases, int? numSessions, double? numSessionsPercentile, double? spendPercentile, double? spendProbability, double? totalSpendNext28Days})
- StatsResponse.fromJson(Map json_)
Properties
- avgSessionLengthMinutes ↔ double?
-
Average session length in minutes of the player.
getter/setter pair
- churnProbability ↔ double?
-
The probability of the player not returning to play the game in the next
day.
getter/setter pair
- daysSinceLastPlayed ↔ int?
-
Number of days since the player last played this game.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- highSpenderProbability ↔ double?
-
The probability of the player going to spend beyond a threshold amount of
money.
getter/setter pair
- kind ↔ String?
-
Uniquely identifies the type of this resource.
getter/setter pair
- numPurchases ↔ int?
-
Number of in-app purchases made by the player in this game.
getter/setter pair
- numSessions ↔ int?
-
The approximate number of sessions of the player within the last 28 days,
where a session begins when the player is connected to Play Games Services
and ends when they are disconnected.
getter/setter pair
- numSessionsPercentile ↔ double?
-
The approximation of the sessions percentile of the player within the last
30 days, where a session begins when the player is connected to Play Games
Services and ends when they are disconnected.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- spendPercentile ↔ double?
-
The approximate spend percentile of the player in this game.
getter/setter pair
- spendProbability ↔ double?
-
The probability of the player going to spend the game in the next seven
days.
getter/setter pair
- totalSpendNext28Days ↔ double?
-
The predicted amount of money that the player going to spend in the next
28 days.
getter/setter pair
Methods
-
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