startAction method
Notifies that a User Action of type
has started, named name
. This is
used to track long running user actions (e.g. "scroll"). Such an User
Action must be stopped with stopAction, and will be stopped
automatically if it lasts for more than 10 seconds. You can optionally
provide custom attributes
.
Implementation
void startAction(RumActionType type, String name,
[Map<String, Object?> attributes = const {}]) {
wrap('rum.startAction', logger, attributes, () {
return _platform.startAction(type, name, attributes);
});
}