toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
  'current_date': currentDate,
  if (weather != null) 'weather': weather,
  'user_actions': userActions,
  'user_preferences': userPreferences,
  'dismissed_widgets': dismissedWidgets.toList(),
  'developer_params': developerParams,
};