APMFlutterConfig class

Constructors

APMFlutterConfig({String? appId = '', String? authorization, String? region, String? url, String? uid, String? tag, List? networkWhiteList, String traceType = 'apm', int cacheThreshold = 200, int timeInterval = 60, bool reportBackground = true, bool reportLaunch = false, bool enableNetwork = true, bool enableCrash = true, bool enableLaunch = true, bool enableANR = true, bool enableError = true, bool enableDevice = true, bool enableEvent = true, double samplingRate = 1.0})
Constructor for APMFlutterConfig

Properties

appId String?
Application ID
getter/setter pair
authorization String?
Authorization token
getter/setter pair
cacheThreshold int
Cache threshold in KB
getter/setter pair
enableANR bool
Whether to enable ANR monitoring
getter/setter pair
enableCrash bool
Whether to enable crash reporting
getter/setter pair
enableDevice bool
Whether to enable device information reporting
getter/setter pair
enableError bool
Whether to enable error reporting
getter/setter pair
enableEvent bool
Whether to enable custom event reporting
getter/setter pair
enableLaunch bool
Whether to enable launch monitoring
getter/setter pair
enableNetwork bool
Whether to enable network monitoring
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
networkWhiteList List?
Network whitelist
getter/setter pair
region String?
Region setting
getter/setter pair
reportBackground bool
Whether to report background events
getter/setter pair
reportLaunch bool
Whether to report launch events
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
samplingRate double
Sampling rate for data collection
getter/setter pair
tag String?
Tag for identification
getter/setter pair
timeInterval int
Time interval in seconds for reporting
getter/setter pair
traceType String
Trace type (apm or otel)
getter/setter pair
uid String?
User ID
getter/setter pair
url String?
Server URL
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resetWithBuiltinConfig(Map dict) → void
Reset configuration with builtin values from dictionary
toString() String
A string representation of this object.
inherited

Operators

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