toJson method
Implementation
Map<String, dynamic> toJson() {
return {
'action': action,
'module': module,
'lastTimestamp': lastTimestamp,
'code': code,
'limit': limit,
'userId': userId,
'messageList': messageList,
};
}