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