toJson method
Implementation
Map<String, dynamic> toJson() {
final commonAttributes = this.commonAttributes;
final contentEncoding = this.contentEncoding;
return {
if (commonAttributes != null) 'CommonAttributes': commonAttributes,
if (contentEncoding != null) 'ContentEncoding': contentEncoding.toValue(),
};
}