trackNavigationEvent static method
Tracks navigation use when displaying/hiding visible screen or dialog when displaying use SmartlookNavigationEventType.enter multiple can be entered in same time but must be visible!!! for example: partially visible screen behind and dialog upfront when hiding use SmartlookNavigationEventType.exit hide when screen or part of screen is hidden
Implementation
static Future<void> trackNavigationEvent(
String key, SmartlookNavigationEventType type) async {
await _channel.invokeListMethod(
"trackNavigationEvent", {"key": key, "type": type.index});
}