toJson method

Map<String, dynamic> toJson()

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(),
  };
}