run static method

Future run(
  1. Config config
)

Method for starting AppSpector with supplied configs

Implementation

static Future<dynamic> run(Config config) async {
  final sharedInstance = shared();
  final isStarted = await sharedInstance.isStarted();
  if (!isStarted) {
    return new AppSpectorPlugin._withConfig(
            config, sharedInstance._sessionUrlListener)
        ._init(config);
  }
}