setUserAttribute static method

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

Add custom user attribute value with a key that is going to be sent with each feedback, bug or crash.

Implementation

static Future<void> setUserAttribute(String value, String key) async {
  final List<dynamic> params = <dynamic>[value, key];
  await _channel.invokeMethod<Object>('setUserAttribute:withKey:', params);
}