toJson method
Implementation
Map<String, Object?> toJson() {
var collectionIds = this.collectionIds;
var contentId = this.contentId;
var expiryDateTime = this.expiryDateTime;
var fileIds = this.fileIds;
var token = this.token;
final json = <String, Object?>{};
json[r'collectionIds'] = collectionIds;
if (contentId != null) {
json[r'contentId'] = contentId;
}
if (expiryDateTime != null) {
json[r'expiryDateTime'] = expiryDateTime;
}
json[r'fileIds'] = fileIds;
if (token != null) {
json[r'token'] = token;
}
return json;
}