setUserProperty static method

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

static Future<void> setUserProperty(String key, Object value) {
  return HacklePlatform.instance.setUserProperty(key, value);
}