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