trackScreenView static method
Tracks a screen view manually. @param view The name of the view. @param metadata Optional metadata associated with the view.
Implementation
static Future<void> trackScreenView(
String view, {
Map<String, dynamic>? metadata,
}) async {
MBAutomationView automationView =
MBAutomationView(view: view, metadata: metadata);
MBAutomationMessagesManager.screenViewed(automationView);
MBAutomationTrackingManager.shared.trackView(automationView);
}