EventSpa.screenView constructor
Use this constructor is user open screen
pageLocation is new screen uri
pageReferrer is old screen uri
Implementation
EventSpa.screenView(
String pageLocation,
String pageReferrer,
) : this(
eventType: "screen_view",
customParam: {
'page_location': pageLocation,
'page_referrer': pageReferrer,
},
);