addAction method

void addAction(
  1. RumActionType type,
  2. String name, [
  3. Map<String, Object?> attributes = const {}
])

Register the occurrence of a User Action.

This is used to a track discrete User Actions (e.g. "tap") specified by type. The name and attributes supplied will be associated with this user action.

Implementation

void addAction(RumActionType type, String name,
    [Map<String, Object?> attributes = const {}]) {
  wrap('rum.addAction', logger, attributes, () {
    return _platform.addAction(type, name, attributes);
  });
}