setProperty abstract method

Future<void> setProperty(
  1. String key,
  2. Object value
)

Set a single user property. It can be either a custom one or one of the predefined ones. String key - the key for the user property Object value - the value for the user property to be set. The value should be the allowed data type.

Implementation

Future<void> setProperty(String key, Object value);