toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"id": id,
"title": title,
"subtitle": subtitle,
"tags": List<dynamic>.from(tags.map((int x) => x)),
"parentId": parentId,
"order": order,
"location": location,
"type": type,
"link": link,
"relatedProducts": relatedProducts == null ? null : List<dynamic>.from(relatedProducts!.map((String x) => x)),
};