initializeWithAmplitude static method
- String apiKey,
- ExperimentConfig config
Creates an ExperimentClient that integrates with Amplitude Analytics.
The client automatically shares user identity and lifecycle events
with the Amplitude Analytics SDK identified by apiKey.
Implementation
static Future<ExperimentClient> initializeWithAmplitude(
String apiKey,
ExperimentConfig config,
) {
return ExperimentClientImpl.create(
apiKey: apiKey,
config: config,
withAnalytics: true,
);
}