toMap method
Implementation
Map<String, dynamic> toMap() {
return {
'id': id,
'title': title,
'description': description,
'reportedBy': reportedBy?.toMap(),
'type': type,
'priority': priority,
'source': source,
'status': status,
'createdAt': createdAt,
'listOfMedia': listOfMedia?.map((e) => e.toMap()).toList(),
'crashLog2': crashLog2?.toMap(),
'appId': appId,
'exportedOn': exportedOn,
'updatedAt': updatedAt,
};
}