EventSpa.firstOpen constructor
EventSpa.firstOpen({})
Use this constructor is user first open the app
previousGmpAppId is the previous gmp app id
updatedWithAnalytics is the updated with analytics
previousFirstOpenCount is the previous first open count
systemApp is the system app
systemAppUpdate is the system app update
deferredAnalyticsCollection is the deferred analytics collection
resetAnalyticsCause is the reset analytics cause
engagementTimeMsec is the time in milliseconds, the user was engaged with the app
Implementation
EventSpa.firstOpen({
required String previousGmpAppId,
required String updatedWithAnalytics,
required String previousFirstOpenCount,
required String systemApp,
required String systemAppUpdate,
required String deferredAnalyticsCollection,
required String resetAnalyticsCause,
required String engagementTimeMSec,
}) : this(
eventType: "first_open",
customParam: {
'previous_gmp_app_id': previousGmpAppId,
'updated_with_analytics': updatedWithAnalytics,
'previous_first_open_count': previousFirstOpenCount,
'system_app': systemApp,
'system_app_update': systemAppUpdate,
'deferred_analytics_collection': deferredAnalyticsCollection,
'reset_analytics_cause': resetAnalyticsCause,
'engagement_time_msec': engagementTimeMSec,
}
);