DynatraceNullRootAction class

Represents an root action which has no effect. It will be returned instead of null in cases of errors

Implemented types

Constructors

DynatraceNullRootAction()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
Cancel this action. Canceling an action is similar to leaveAction(), except that the data and all unfinished child objects are discarded instead of being sent.
override
createWebRequestTiming(String url) Future<WebRequestTiming>
Returns a webrequest timing object which can be used to measure a web request. Input the url of the web request.
override
enterAction(String? actionName, {Platform? platform}) DynatraceAction
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.
override
getRequestTag(String url) Future<String>
Returns a unique x-dynatrace header for the web request with a specified url, which has to be manually added as http header. The header key can be obtained with the method getRequestTagHeader. The string value can be empty in cases when the agent is not able to send data. E.g. the agent is turned off completly, has not started yet or is not allowed to track web requests because of privacy reasons. The tag value is evaluated by the corresponding web server agent. The Dynatrace server will link the server-side PurePath data with this mobile user action. For more information, see Dynatrace documentation.
override
getRequestTagHeader() String
Returns the header key that needs to be added to the web request for user action/purepath correlation. For more information, see Dynatrace documentation.
override
leaveAction() → void
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.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportDoubleValue(String? valueName, double? value, {Platform? platform}) → void
Reports a double value with a specified valueName. If the action is already closed the event will not be reported. If valueName is null or empty the event will not be reported. If value is null the event will not be reported.
override
reportError(String? errorName, int? errorCode, {Platform? platform}) → void
Reports an error with a specified errorName, errorCode. errorCode is nullable but within implementation it has default value 0 If the action is already closed the event will not be reported. If errorName is null or empty the event will not be reported.
override
reportEvent(String? eventName, {Platform? platform}) → void
Reports an event with a specified eventName. If the action is already closed the event will not be reported. If eventName is null or empty the event will not be reported.
override
reportIntValue(String? valueName, int? value, {Platform? platform}) → void
Reports an int value with a specified valueName. If the action is already closed the event will not be reported. If valueName is null or empty the event will not be reported. If value is null the event will not be reported.
override
reportStringValue(String? valueName, String? value, {Platform? platform}) → void
Reports a String value with a specified valueName. If the action is already closed the event will not be reported. If valueName is null or empty the event will not be reported. If value is null or empty the event will not be reported.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited