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