Map<String, dynamic> toJson() => { "clientId": clientId == null ? null : clientId, "contentId": contentId == null ? null : contentId, "createdAt": createdAt == null ? null : createdAt.toIso8601String(), };