setUserProperty static method

  1. @Deprecated("Use updateUserProperties(operations) instead.")
Future<void> setUserProperty(
  1. String key,
  2. Object value
)

Sets a user property with the given key and value.

key - The key of the user property. value - The value of the user property.

Implementation

@Deprecated("Use updateUserProperties(operations) instead.")
static Future<void> setUserProperty(String key, Object value) {
  return HacklePlatform.instance.setUserProperty(key, value);
}