logScreenView method
Future<void>
logScreenView({
- String? screenClass,
- String? screenName,
- Map<
String, Object> ? parameters, - AnalyticsCallOptions? callOptions,
inherited
Logs the standard screen_view
event.
This event signifies a screen view. Use this when a screen transition occurs.
Implementation
Future<void> logScreenView({
String? screenClass,
String? screenName,
Map<String, Object>? parameters,
AnalyticsCallOptions? callOptions,
}) {
_assertParameterTypesAreCorrect(parameters);
return _delegate.logEvent(
name: 'screen_view',
parameters: filterOutNulls(<String, Object?>{
_SCREEN_CLASS: screenClass,
_SCREEN_NAME: screenName,
if (parameters != null) ...parameters,
}),
callOptions: callOptions,
);
}