Map<String, dynamic> toJson() { final s3Location = this.s3Location; return { if (s3Location != null) 'S3Location': s3Location, }; }