BridgeProvider constructor

BridgeProvider(
  1. IStorage storage, {
  2. WalletApp? wallet,
})

Implementation

BridgeProvider(IStorage storage, {WalletApp? wallet}) {
  _storage = storage;
  _wallet = wallet;

  _session = BridgeSession();
  _gateway = null;
  _pendingRequests = {};
  _listeners = [];
}