setUserProperty method

  1. @override
Future<void> setUserProperty({
  1. required String name,
  2. required String? value,
  3. AnalyticsCallOptions? callOptions,
})

Sets a user property to the given value. Setting a null value removes the user property. callOptions are for web platform only.

Implementation

@override
Future<void> setUserProperty({
  required String name,
  required String? value,
  AnalyticsCallOptions? callOptions,
}) async {
  return convertWebExceptions(() {
    return _delegate.setUserProperty(
      name: name,
      value: value,
      callOptions: callOptions,
    );
  });
}