toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"title": title,
"detail1": detail1,
"detail2": detail2,
"imageBase64": imageBase64,
"iconBase64": iconBase64,
"buttonText": buttonText,
"buttonLink": buttonLink,
"link": link,
"order": order,
"instagram": instagram,
"tags": List<dynamic>.from(tags.map((dynamic x) => x)),
"id": id,
"creatorId": creatorId,
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
"description": description,
"subTitle": subTitle,
"telegram": telegram,
"whatsapp": whatsapp,
"phone": phone,
"links": List<dynamic>.from(links.map((UContentLink x) => x.toMap())),
"items": List<dynamic>.from(items.map((UContentItem x) => x.toMap())),
"media": media == null ? <dynamic>[] : List<dynamic>.from(media!.map((String x) => x)),
};