toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x1be31789",
"randomBytes": randomBytes,
"layer": layer,
"inSeqNo": inSeqNo,
"outSeqNo": outSeqNo,
"message": message,
};
// Finished toJson.
return returnValue;
}