EventData constructor

EventData({
  1. required String eventId,
  2. required String title,
  3. required String description,
  4. required String location,
  5. required String time,
  6. required String date,
  7. required String source,
  8. required String type,
  9. required int pointReward,
  10. required String qrCode,
})

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;
}