onCreateTracker method

void onCreateTracker(
  1. MethodCall call
)

Implementation

void onCreateTracker(MethodCall call) {
  var configuration = ConfigurationReader(call.arguments);
  SnowplowTrackerController.createTracker(configuration);
  for (final plugin in call.arguments['plugins'] ?? []) {
    _addPlugin(configuration.namespace, plugin);
  }
}