toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"detail1": detail1,
"detail2": detail2,
"tags": List<dynamic>.from(tags.map((int x) => x)),
"id": id,
"creatorId": creatorId,
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
"title": title,
"subtitle": subtitle,
"slug": slug,
"content": content,
"metaTitle": metaTitle,
"metaDescription": metaDescription,
"source": source,
"categories": categories == null ? <dynamic>[] : List<dynamic>.from(categories!.map((String x) => x)),
"media": media == null ? <dynamic>[] : List<dynamic>.from(media!.map((String x) => x)),
"code": code,
"description": description,
"type": type,
"actionType": actionType,
"actionTitle": actionTitle,
"actionUri": actionUri,
"latitude": latitude,
"longitude": longitude,
"parentId": parentId,
"relatedBlogs": relatedBlogs == null ? <dynamic>[] : List<dynamic>.from(relatedBlogs!.map((String x) => x)),
"children": children == null ? <UBlogCreateParams>[] : List<UBlogCreateParams>.from(children!.map((UBlogCreateParams x) => x.toMap())),
};