addUserAction method
Manually track a user event.
action
is ignored when using Flutter web.
Implementation
Future<void> addUserAction(
String name, {
RUMAction action = RUMAction.tap,
Map<String, dynamic> attributes = const <String, dynamic>{},
}) async {
return await channel.invokeMethod('rumAddUserAction', {
'name': name,
'type': action.index,
'attributes': platform.isIOS ? jsonEncode(attributes) : attributes,
});
}