toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (avgSessionLengthMinutes != null)
'avg_session_length_minutes': avgSessionLengthMinutes!,
if (churnProbability != null) 'churn_probability': churnProbability!,
if (daysSinceLastPlayed != null)
'days_since_last_played': daysSinceLastPlayed!,
if (highSpenderProbability != null)
'high_spender_probability': highSpenderProbability!,
if (kind != null) 'kind': kind!,
if (numPurchases != null) 'num_purchases': numPurchases!,
if (numSessions != null) 'num_sessions': numSessions!,
if (numSessionsPercentile != null)
'num_sessions_percentile': numSessionsPercentile!,
if (spendPercentile != null) 'spend_percentile': spendPercentile!,
if (spendProbability != null) 'spend_probability': spendProbability!,
if (totalSpendNext28Days != null)
'total_spend_next_28_days': totalSpendNext28Days!,
};