toJson method
Implementation
Map<String, dynamic> toJson() {
final map = <String, dynamic>{};
map['cp_total'] = _cpTotal;
map['id'] = _id;
map['banner_name'] = _bannerName;
map['banner'] = _banner;
map['banner_full'] = _bannerFull;
map['name'] = _name;
map['title'] = _title;
map['location'] = _location;
map['from_timestamp'] = _fromTimestamp;
map['to_timestamp'] = _toTimestamp;
map['from_date'] = _fromDate;
map['from_date_time'] = _fromDateTime;
map['to_date'] = _toDate;
map['to_date_time'] = _toDateTime;
map['is_active'] = _isActive;
map['is_deleted'] = _isDeleted;
map['created_at_today'] = _createdAtToday;
map['created_at'] = _createdAt;
map['created_time'] = _createdTime;
map['updated_at'] = _updatedAt;
map['master_user_id'] = _masterUserId;
map['text_color'] = _textColor;
map['text_position'] = _textPosition;
return map;
}