toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'peer_key': peerKey,
'peer_signature': peerSignature,
'device_signing_key': deviceSigningKey,
'device_encryption_key': deviceEncryptionKey,
'timestamp': timestamp,
'node_id': nodeId,
};
}