initialize static method

Future<void> initialize(
  1. String sdkKey, {
  2. HackleConfig? hackleConfig,
  3. HackleUser? user,
})

Implementation

static Future<void> initialize(
  String sdkKey, {
  HackleConfig? hackleConfig,
  HackleUser? user,
}) {
  return HacklePlatform.instance.initialize(
    sdkKey: sdkKey,
    sdkName: SDK_NAME,
    sdkVersion: SDK_VERSION,
    hackleConfig: hackleConfig,
    user: user,
  );
}