Parse from a json
factory MessageViewer.fromJson(Map<String, dynamic> json) => MessageViewer( userId: json['user_id'], viewDate: json['view_date'], );