toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'sessions': sessions,
'attribution': Attribution.toMapOrBool(attribution),
'pageViews': PageViews.toMapOrBool(pageViews),
'appLifecycles': appLifecycles,
'deepLinks': deepLinks,
'screenViews': screenViews,
'formInteractions': formInteractions,
'fileDownloads': fileDownloads,
'elementInteractions':
ElementInteractions.toMapOrBool(elementInteractions),
'pageUrlEnrichment': pageUrlEnrichment,
};
}