Configuration class

Holds manual configuration values for initializing the Dynatrace agent.

Use this class when starting the agent manually to provide custom settings.

Example:

import 'package:dynatrace_flutter_plugin/dynatrace_flutter_plugin.dart';
void main() => Dynatrace().start(MyApp(), configuration: Configuration(beaconUrl: "BeaconUrl", applicationId: "AppId"));

For more information, see Dynatrace documentation.

Constructors

Configuration({required String applicationId, required String beaconUrl, bool? reportCrash, LogLevel? logLevel, bool? certificateValidation, bool? userOptIn})
Constructor of configuration class.
const

Properties

applicationId String
Specifies the application id value from your Dynatrace mobile application configuration page.
final
beaconUrl String
Specifies the beaconUrl value from your Dynatrace mobile application configuration page.
final
certificateValidation bool?
Enables/disables certificate validation.
final
hashCode int
The hash code for this object.
no setterinherited
logLevel LogLevel?
Dynatrace log level, defaults to LogLevel.Info set to LogLevel.Debug for more log output
final
reportCrash bool?
Returns if crash reporting is enabled.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
userOptIn bool?
Enables/disables the user opt-in feature.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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