APMFlutterPluginPlatform class abstract

Abstract platform interface for APM Flutter plugin

Inheritance
  • Object
  • PlatformInterface
  • APMFlutterPluginPlatform
Implementers

Constructors

APMFlutterPluginPlatform()
Constructs a APMFlutterPluginPlatform.

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

addTag(String tag) Future<void>
Add custom tag
event(String key, Object value) Future<void>
Report a custom event
initMethodCallHandler() → dynamic
Initialize callback for handling method calls from native platform
log(String logType, String logInfo) Future<void>
Log message
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reportANRInfo(Map<String, Object?> info) Future<void>
Report ANR information
reportFlutterError(Map<String, Object?> errorInfo) Future<void>
Handle Flutter error and report to backend
reportLagInfo(Map<String, Object?> info) Future<void>
Report lag information
reportNetworkInfo(Map<String, Object?> networkInfo) Future<void>
Report network request information
setUid(String uid) Future<void>
Set custom user ID
syncConfig() Future<APMFlutterConfig>
Get configuration from native platform
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance APMFlutterPluginPlatform
The default instance of APMFlutterPluginPlatform to use.
getter/setter pair