initialize static method
- String apiKey,
- ExperimentConfig config
Creates an ExperimentClient configured with the given apiKey.
The client operates independently and does not share user identity with Amplitude Analytics. Use initializeWithAmplitude if you want automatic identity resolution from an Analytics instance.
Implementation
static Future<ExperimentClient> initialize(
String apiKey,
ExperimentConfig config,
) {
return ExperimentClientImpl.create(
apiKey: apiKey,
config: config,
withAnalytics: false,
);
}