toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final map = <String, dynamic>{};
  map['id'] = _id;
  map['title'] = _title;
  map['description'] = _description;
  map['type'] = _type;
  map['published_date'] = _publishedDate;
  map['published_date_format'] = _publishedDateFormat;
  map['published_date_format_time'] = _publishedDateFormatTime;
  map['media'] = _media;
  map['image'] = _image;
  map['thumb_image'] = _thumbImage;
  map['is_active'] = _isActive;
  map['master_user_id'] = _masterUserId;
  map['created_at'] = _createdAt;
  map['created_time'] = _createdTime;
  map['updated_at'] = _updatedAt;
  map['updated_time'] = _updatedTime;
  return map;
}