createPageViewEvent static method
Creates a page view event for screen tracking asynchronously.
Important: This method must be called on every screen change as it triggers the BlueConic SDK to load all plugins (listeners, dialogues) for the screen. Page view events are essential for proper BlueConic functionality.
screenName The name of the screen/page being viewed
properties A map of additional properties for the page view event
Returns a Future<dynamic> that completes when the operation is done
Implementation
static Future<dynamic> createPageViewEvent(
String screenName,
Map<String, dynamic> properties,
) {
return BlueConicPlatform.instance.createPageViewEvent(
screenName,
properties,
);
}