BridgeProvider constructor

BridgeProvider(
  1. IStorage storage, {
  2. Map<String, dynamic>? wallet,
})

Implementation

BridgeProvider(IStorage storage, {Map<String, dynamic>? wallet}) {
  _storage = storage;
  _wallet = wallet ?? {};

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