toJson method

Map<String, dynamic> toJson()

Implementation

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