toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0xcdd42a05",
"permAuthKeyId": permAuthKeyId,
"nonce": nonce,
"expiresAt": expiresAt.toIso8601String(),
"encryptedMessage": encryptedMessage,
};
// Finished toJson.
return returnValue;
}