reportScreenOpened static method
Report sceen change to implement Heatmaps functionality in UserX
Implementation
static Future<void> reportScreenOpened(String screenName, {Map<String, Object>? attributes}) async {
if (_previousScreenName == screenName) return;
_previousScreenName = screenName;
reportEvent('$screenName, screen opened', attributes: attributes);
UserX.addScreenName(screenName);
}