toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"id": id,
"addTags": addTags == null ? null : List<dynamic>.from(addTags!.map((int x) => x)),
"removeTags": removeTags == null ? null : List<dynamic>.from(removeTags!.map((int x) => x)),
"title": title,
"description": description,
"userId": userId,
"contentId": contentId,
"commentId": commentId,
"categoryId": categoryId,
"productId": productId,
};