toJson method
Implementation
@override
Map<String, dynamic> toJson() {
return {
'peer_key': peerKey,
'peer_signature': peerSignature,
'revoked_device_key': revokedDeviceKey,
'last_valid_event_hash': lastValidEventHash,
'last_valid_sequence': lastValidSequence,
'timestamp': timestamp.millisecondsSinceEpoch,
};
}