LogtoClient constructor

LogtoClient({
  1. required LogtoConfig config,
  2. LogtoStorageStrategy? storageProvider,
  3. Client? httpClient,
})

Implementation

LogtoClient({
  required this.config,
  LogtoStorageStrategy? storageProvider,
  http.Client? httpClient,
}) {
  _httpClient = httpClient;
  _tokenStorage = TokenStorage(storageProvider);
}