logScreenView static method
Screen View event. This event signifies a screen view. Use this when a screen transition occurs.
screenClass
: Current screen class
screenName
: Current screen name
Implementation
static Future<void> logScreenView({
String? screenClass,
String? screenName,
}) {
return logEvent(name: 'screen_view', params: {
'screenClass': screenClass,
'screenName': screenName,
});
}