enterAction method

  1. @override
DynatraceAction enterAction(
  1. String? actionName, {
  2. Platform? platform,
})
override

Enters a (child) Action with a specified actionName on this Action. If the given actionName is null or an empty string, no reporting will happen on that RootAction.

/// Example:

import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';

final myRootAction = Dynatrace().enterAction('MyRootAction');
//Perform the action and whatever else is needed.
final myAction = myRootAction.enterAction('MyAction');
Do something within the action
myAction.leaveAction();
myRootAction.leaveAction();

For more information, see Dynatrace documentation.

Implementation

@override
DynatraceAction enterAction(String? actionName, {Platform? platform}) {
  return DynatraceNullAction();
}