initSync method

Future<void> initSync(
  1. String sdkKey,
  2. String datafile, {
  3. int periodicDownloadInterval = 10 * 60,
})

Initializes the Optimizely plugin synchronously.

This will initialize Optimizely with the local datafile to speed up initialization. The datafile parameter needs to be the JSON content of it!

Implementation

Future<void> initSync(
  String sdkKey,
  String datafile, {
  int periodicDownloadInterval = 10 * 60,
}) =>
    throw UnimplementedError('initSync() has not been implemented.');