MethodChannelAPMFlutterPlugin class
An implementation of APMFlutterPluginPlatform that uses method channels.
- Inheritance
-
- Object
- PlatformInterface
- APMFlutterPluginPlatform
- MethodChannelAPMFlutterPlugin
Constructors
- MethodChannelAPMFlutterPlugin()
- Constructor for MethodChannelAPMFlutterPlugin
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- methodChannel → MethodChannel
-
The method channel used to interact with the native platform.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addTag(
String tag) → Future< void> -
Add custom tag
override
-
event(
String key, Object value) → Future< void> -
Report a custom event
override
-
initMethodCallHandler(
) → dynamic -
Initialize method call handler for receiving callbacks from native platform
override
-
log(
String logType, String logInfo) → Future< void> -
Log message
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reportANRInfo(
Map< String, Object?> info) → Future<void> -
Report ANR information
override
-
reportFlutterError(
Map< String, Object?> errorInfo) → Future<void> -
Report Flutter error
override
-
reportLagInfo(
Map< String, Object?> info) → Future<void> -
Report lag information
override
-
reportNetworkInfo(
Map< String, Object?> networkInfo) → Future<void> -
Report network information
override
-
setUid(
String uid) → Future< void> -
Set custom user ID
override
-
syncConfig(
) → Future< APMFlutterConfig> -
Synchronize configuration from native platform
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited