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
Future<void> setUserId({
String? id,
AnalyticsCallOptions? callOptions,
}) async {
await _delegate.setUserId(id: id, callOptions: callOptions);
}