Web3AuthResponse.fromJson constructor
Web3AuthResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
Web3AuthResponse.fromJson(Map<String, dynamic> json)
: privKey = json['privKey'],
userInfo = json['userInfo'] != null
? TorusUserInfo.fromJson(json['userInfo'])
: null,
ed25519PrivKey = json['ed25519PrivKey'],
sessionId = json['sessionId'],
coreKitKey = json['coreKitKey'],
coreKitEd25519PrivKey = json['coreKitEd25519PrivKey'],
error = json['error'],
factorKey = json['factorKey'],
signatures = json['signatures'] != null
? List<String>.from(json['signatures'])
: null,
tssShareIndex = json['tssShareIndex'],
tssPubKey = json['tssPubKey'],
tssShare = json['tssShare'],
tssNonce = json['tssNonce'],
nodeIndexes = json['nodeIndexes'] != null
? List<int>.from(json['nodeIndexes'])
: null,
keyMode = json['keyMode'];