toJson method
Implementation
Map<String, dynamic> toJson() {
final s3ContentLocation = this.s3ContentLocation;
final textContent = this.textContent;
final zipFileContent = this.zipFileContent;
return {
if (s3ContentLocation != null) 'S3ContentLocation': s3ContentLocation,
if (textContent != null) 'TextContent': textContent,
if (zipFileContent != null)
'ZipFileContent': base64Encode(zipFileContent),
};
}