logLogin method
Future<void>
logLogin({
- String? loginMethod,
- Map<
String, Object> ? parameters, - AnalyticsCallOptions? callOptions,
Logs the standard login
event.
Apps with a login feature can report this event to signify that a user has logged in.
Implementation
Future<void> logLogin({
String? loginMethod,
Map<String, Object>? parameters,
AnalyticsCallOptions? callOptions,
}) {
_assertParameterTypesAreCorrect(parameters);
return _delegate.logEvent(
name: 'login',
parameters: filterOutNulls(<String, Object?>{
_METHOD: loginMethod,
if (parameters != null) ...parameters,
}),
callOptions: callOptions,
);
}