Configuration class

Configuration class which can be used for manual instrumentation.

Constructors

Configuration({bool reportCrash = defaultReportCrash, LogLevel logLevel = defaultLogLevel, String? beaconUrl, String? applicationId, bool certificateValidation = defaultCertificateValidation, bool userOptIn = defaultUserOptIn})
Constructor of configuration class.
const

Properties

hashCode int
The hash code for this object.
no setterinherited
isAutoStartPropertyAvailable bool
Check if the properties for the Autostart are available and valid If beaconUrl and applicationId are available this will return true
no setter
isCrashReportingEnabled bool
Returns if crash reporting is enabled.
no setter
logLevel LogLevel
Return the current used loglevel
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getStartupConfiguration() Map<String, dynamic>
Generating the Startup configuration for a manual startup. Only relevant configurations will be passed to the native agents. Currently this is applicationId, beaconUrl and loglevel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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