serialize method
Serializes the object to a map.
Implementation
@override
Map<String, dynamic> serialize() {
return {
"authorizedPubkey": authorizedPubkey,
"epochOfLastAuthorizedSwitch": epochOfLastAuthorizedSwitch,
"targetEpoch": targetEpoch
};
}