toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"id": id,
"title": title,
"description": description,
"instagram": instagram,
"telegram": telegram,
"whatsapp": whatsapp,
"phone": phone,
"addTags": addTags == null ? null : List<dynamic>.from(addTags!.map((int x) => x)),
"removeTags": removeTags == null ? null : List<dynamic>.from(removeTags!.map((int x) => x)),
"detail1": detail1,
"detail2": detail2,
"tags": tags == null ? <dynamic>[] : List<dynamic>.from(tags!.map((int x) => x)),
"adminUserIds": adminUserIds == null ? <dynamic>[] : List<dynamic>.from(adminUserIds!.map((String x) => x)),
"addAdminUserIds": addAdminUserIds == null ? <dynamic>[] : List<dynamic>.from(addAdminUserIds!.map((String x) => x)),
"removeAdminUserIds": removeAdminUserIds == null ? <dynamic>[] : List<dynamic>.from(removeAdminUserIds!.map((String x) => x)),
};