BridgeSession constructor
BridgeSession({
- Json? stored,
Implementation
BridgeSession({Json? stored}) {
sessionCrypto = stored != null && stored.containsKey('session_private_key')
? SessionCrypto(pk: stored['session_private_key'])
: SessionCrypto();
walletPublicKey = stored?['wallet_public_key'];
bridgeUrl = stored?['bridge_url'];
}