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