init function

  1. @Deprecated('[authorizationSecret] will be removed in next releases')
dynamic init(
  1. String applicationId,
  2. String authorizationKey,
  3. String authorizationSecret, {
  4. Future<CubeSession> onSessionRestore()?,
})

Implementation

@Deprecated('[authorizationSecret] will be removed in next releases')
init(String applicationId, String authorizationKey, String authorizationSecret,
    {Future<CubeSession> Function()? onSessionRestore}) {
  CubeSettings.instance.init(
      applicationId, authorizationKey, authorizationSecret,
      onSessionRestore: onSessionRestore);
}