toMap method
Implementation
Map<String, dynamic> toMap() {
return {
"\$id": $id,
"\$createdAt": $createdAt,
"\$updatedAt": $updatedAt,
"providerType": providerType,
"topics": topics,
"users": users,
"targets": targets,
"scheduledAt": scheduledAt,
"deliveredAt": deliveredAt,
"deliveryErrors": deliveryErrors,
"deliveredTotal": deliveredTotal,
"data": data,
"status": status,
};
}