toMap method
Implementation
Map<String, dynamic> toMap() => {
"id": id,
"title": title,
"type": type,
"type_id": typeId,
"status": status,
"description": description,
"event_name": eventName,
"slider_image": sliderImage,
};