toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'privKey': privKey,
    'userInfo': userInfo?.toJson(),
    'ed25519PrivKey': ed25519PrivKey,
    'sessionId': sessionId,
    'error': error
  };
}