toJson method
Implementation
Map<String, dynamic> toJson() {
final s3Bucket = this.s3Bucket;
final s3Key = this.s3Key;
final s3ObjectVersion = this.s3ObjectVersion;
final zipFile = this.zipFile;
return {
if (s3Bucket != null) 'S3Bucket': s3Bucket,
if (s3Key != null) 'S3Key': s3Key,
if (s3ObjectVersion != null) 'S3ObjectVersion': s3ObjectVersion,
if (zipFile != null) 'ZipFile': base64Encode(zipFile),
};
}