AppSpectorPlugin class

This is the main class for using AppSpector. AppSpector captures various types of data to assist in debugging, analyzing application state and understanding user behavior.

Here is an example of how AppSpector is used:

void main() {
  runAppSpector();
  runApp(MyApp());
}

void runAppSpector() { var config = new Config(); config.iosApiKey = "Your iOS API_KEY"; config.androidApiKey = "Your Android API_KEY"; AppSpectorPlugin.run(config); }

For more information visit the AppSpector Page.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sessionUrlListener ← (dynamic Function(String)?)
no getter

Methods

isStarted() Future<bool>
Returns true if sdk is started
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeMetadataValue(String key) Future<void>
Remove metadata value
setMetadataValue(String key, String value) Future<void>
Set metadata value
start() Future<void>
Resume sending events and work of all monitors
stop() Future<void>
Stop all monitors and events sending
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

run(Config config) Future
Method for starting AppSpector with supplied configs
shared() AppSpectorPlugin
Returns shared instance of SDK plugin