toJson method
Implementation
Map<String, dynamic> toJson() => {
'survey_identifier': surveyIdentifier,
'app_name': appName,
'api_token': apiToken,
'sdk_version': sdkVersion,
'platform': platform,
'placement_tag': placementTag,
'user_identifier': userIdentifier,
'user_locale': userLocale,
'seen_at': seenAt,
'complete': complete?.toJson(),
'questions': questions.map((e) => e.toJson()).toList(),
'target_audience': targetAudience,
};