setProperty static method

Future<void> setProperty(
  1. String key,
  2. 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});
}