Configuration class
Configuration class which can be used for manual instrumentation.
Constructors
- Configuration({bool reportCrash = _DEFAULT_REPORT_CRASH, bool monitorWebRequest = _DEFAULT_MONITOR_WEB_REQUEST, LogLevel logLevel = _DEFAULT_LOG_LEVEL, String? beaconUrl, String? applicationId, bool certificateValidation = _DEFAULT_CERTIFICATE_VALIDATION, bool userOptIn = _DEFAULT_USER_OPT_IN})
-
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
andapplicationId
are available this will return trueno setter - isCrashReportingEnabled → bool
-
Returns if crash reporting is enabled.
no setter
- isWebRequestMonitoringEnabled → bool
-
Returns if web request monitoring is enabled
no setter
- logLevel → 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