EventData constructor
EventData({})
Implementation
EventData({
required String eventId,
required String title,
required String description,
required String location,
required String time,
required String date,
required String source,
required String type,
required int pointReward,
required String qrCode,
}) {
_eventId = eventId;
_title = title;
_description = description;
_location = location;
_time = time;
_date = date;
_source = source;
_type = type;
_pointReward = pointReward;
_qrCode = qrCode;
}