init function

dynamic init(
  1. String applicationId,
  2. String authorizationKey,
  3. String authorizationSecret, {
  4. Future<CubeSession> onSessionRestore()?,
})

Implementation

init(String applicationId, String authorizationKey, String authorizationSecret,
    {Future<CubeSession> Function()? onSessionRestore}) {
  CubeSettings.instance.init(
      applicationId, authorizationKey, authorizationSecret,
      onSessionRestore: onSessionRestore);
}