leaveAction method

  1. @override
void leaveAction()
override

Leaves and completes this action and prepares the data for the next sending interval. When an outer/parent action is exited, all nested/child actions are automatically closed.

Example:

import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';

final myAction = Dynatrace().enterAction('MyAction');
// Do something within the action
myAction.leaveAction();

Implementation

@override
void leaveAction() {
  return;
}