toJson method
Implementation
Map<String, dynamic> toJson() {
final data = <String, dynamic>{
'id': id,
'title': title,
'feeds': feeds,
'search_keys': searchKeys,
'visibility': true,
'updated_at': updatedAt,
};
return data..removeWhere((key, value) => value == null);
}