setProperty static method
- String key,
- dynamic value
Sets a user property to a given value.
key is the name of the user property to set.
Setting a null value removes the user property.
Implementation
static Future<void> setProperty(String key, dynamic value) async {
return await _channel
.invokeMethod(AdropMethod.setProperty, {"key": key, "value": value});
}