toJson method
Implementation
Map<String, dynamic> toJson() {
final contentType = this.contentType;
final s3Uri = this.s3Uri;
final contentDigest = this.contentDigest;
return {
'ContentType': contentType,
'S3Uri': s3Uri,
if (contentDigest != null) 'ContentDigest': contentDigest,
};
}