toMap method
Implementation
Map<String, dynamic> toMap() => <String, dynamic>{
"code": code,
"title": title,
"model": model,
"tags": List<dynamic>.from(tags.map((int x) => x)),
"id": id,
"jsonData": jsonData.toMap(),
"createdAt": createdAt.toIso8601String(),
"creator": creator?.toMap(),
"creatorId": creatorId,
"adminUserIds": List<dynamic>.from(
adminUserIds.map((String x) => x),
),
};