addAttribute method

Future<void> addAttribute(
  1. String attributeName,
  2. String value
)

Adds a global attribute to all future RUM events.

Implementation

Future<void> addAttribute(String attributeName, String value) async {
  return await channel.invokeMethod('rumAddAttribute', {
    'key': attributeName,
    'value': value,
  });
}