Dynatrace class abstract
The main API of the flutter plugin which gives access to the functions of the native agents.
Constructors
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
-
applyUserPrivacyOptions(
UserPrivacyOptions userPrivacyOptions, {Platform? platform}) → void -
Applies the specified
userPrivacyOptions
which contains information about crash reporting and data collection level. -
endSession(
{Platform? platform}) → void - Closes the session in the next possible moment.
-
enterAction(
String name, {Platform? platform}) → DynatraceRootAction -
Creating a DynatraceRootAction which is able to have child actions. If
you enter
null
or an empty String for thename
you will get a root action which will be disabled. -
flushEvents(
{Platform? platform}) → void - Send events if necessary.
-
getUserPrivacyOptions(
{Platform? platform}) → Future< UserPrivacyOptions> - Retrieve the currently used user privacy options.
-
identifyUser(
String? user, {Platform? platform}) → void -
Will attach a
user
to the session so you can identify the session later on. -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportCrash(
String? errorName, String reason, String stacktrace, {Platform? platform}) → Future< void> -
Report an error which contains a
stacktrace
and will therefor be reported as a real crash. The error includeserrorName
andreason
as well. -
reportCrashWithException(
String crashName, Exception exceptionObject, {String? reason, Platform? platform}) → Future< void> -
Report an error which contains an
exceptionObject
and will therefor be reported as a real crash. The error includescrashName
as well asreason
if you include it. -
reportDoubleValue(
String? valueName, double? value, {Platform? platform}) → void -
Reports a double
value
with a specifiedvalueName
. -
reportError(
String? errorName, int? errorCode, {Platform? platform}) → void -
Report an error with
errorName
anderrorCode
directly without any action. -
reportErrorInAction(
String? errorName, int? errorCode, {Platform? platform}) → void -
Reports an error with a specified
errorName
,errorCode
. -
reportErrorStacktrace(
String errorName, String errorValue, String reason, String stacktrace, {Platform? platform}) → void -
Report an error with
errorName
,errorValue
,reason
andstacktrace
directly without any action. -
reportEvent(
String? eventName, {Platform? platform}) → void -
Reports an event with a specified
eventName
(but without any value). -
reportIntValue(
String? valueName, int? value, {Platform? platform}) → void -
Reports an int
value
with a specifiedvalueName
. -
reportStringValue(
String? valueName, String? value, {Platform? platform}) → void -
Reports a String
value
with a specifiedvalueName
. -
reportZoneStacktrace(
dynamic error, StackTrace stacktrace, {Platform? platform}) → Future< void> -
Report an error with
error
andstacktrace
inside of a zone. -
setGPSLocation(
double latitude, double longitude, {Platform? platform}) → void -
Sets the GPS location of the session with
latitude
andlongitude
. -
start(
Widget topLevelWidget, {Configuration configuration}) → Future< void> -
Start function which should be called to start the agent. The
topLevelWidget
is the widget which is starting the application. The Configuration contains default values for all properties. reportCrash value is true per default. monitorWebRequest is true per default. -
startWithoutWidget(
{Configuration configuration}) → Future< void> - Start function which should be called to start the agent. This option will capture uncaught exceptions but will not capture zoned errors. The Configuration contains default values for all properties. reportCrash value is true per default. monitorWebRequest is true per default.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited