TonConnect constructor

TonConnect(
  1. String _manifestUrl, {
  2. IStorage? customStorage,
  3. String? walletsListSource,
  4. int? walletsListCacheTtl,
})

Implementation

TonConnect(this._manifestUrl,
    {IStorage? customStorage,
    String? walletsListSource,
    int? walletsListCacheTtl}) {
  storage = customStorage ?? DefaultStorage();

  _walletsList = WalletsListManager(
      walletsListSource: walletsListSource, cacheTtl: walletsListCacheTtl);
  provider = null;
  wallet = null;
  _statusChangeSubscriptions = [];
  _statusChangeErrorSubscriptions = [];
}