toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final s3ContentLocationUpdate = this.s3ContentLocationUpdate;
  final textContentUpdate = this.textContentUpdate;
  final zipFileContentUpdate = this.zipFileContentUpdate;
  return {
    if (s3ContentLocationUpdate != null)
      'S3ContentLocationUpdate': s3ContentLocationUpdate,
    if (textContentUpdate != null) 'TextContentUpdate': textContentUpdate,
    if (zipFileContentUpdate != null)
      'ZipFileContentUpdate': base64Encode(zipFileContentUpdate),
  };
}