toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (fileNames != null) {
json[r'FileNames'] = fileNames;
}
if (description != null) {
json[r'Description'] = description;
}
if (createdTimestamp != null) {
json[r'CreatedTimestamp'] = createdTimestamp.toUtc().toIso8601String();
}
if (updatedTimestamp != null) {
json[r'UpdatedTimestamp'] = updatedTimestamp.toUtc().toIso8601String();
}
if (contentTypes != null) {
json[r'ContentTypes'] = contentTypes;
}
if (names != null) {
json[r'Names'] = names;
}
if (urls != null) {
json[r'Urls'] = urls;
}
if (assetId != null) {
json[r'AssetId'] = assetId;
}
if (assetModelIds != null) {
json[r'AssetModelIds'] = assetModelIds;
}
return json;
}