setUserId method
Sets the user ID property.
Setting a null id
removes the user id.
This feature must be used in accordance with Google's Privacy Policy.
Implementation
@override
Future<void> setUserId({
String? id,
AnalyticsCallOptions? callOptions,
}) async {
await _firebaseAnalytics.setUserId(
id: id,
callOptions: callOptions,
);
}