toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.externalId != null) {
json[r'externalId'] = this.externalId;
} else {
json[r'externalId'] = null;
}
if (this.folderId != null) {
json[r'folderId'] = this.folderId;
} else {
json[r'folderId'] = null;
}
if (this.id != null) {
json[r'id'] = this.id;
} else {
json[r'id'] = null;
}
if (this.metadata != null) {
json[r'metadata'] = this.metadata;
} else {
json[r'metadata'] = null;
}
if (this.publishedVersionId != null) {
json[r'publishedVersionId'] = this.publishedVersionId;
} else {
json[r'publishedVersionId'] = null;
}
return json;
}