initSdk method

Future<void> initSdk({
  1. required String apiDomain,
  2. required String apiKey,
  3. String? cname,
  4. bool forceLogout = false,
})

Initialize the Gigya SDK with the given apiKey, apiDomain and cname.

If forceLogout is true, the user will be logged out.

Implementation

Future<void> initSdk({
  required String apiDomain,
  required String apiKey,
  String? cname,
  bool forceLogout = false,
}) {
  return GigyaFlutterPluginPlatform.instance.initSdk(
    apiDomain: apiDomain,
    apiKey: apiKey,
    cname: cname,
    forceLogout: forceLogout,
  );
}