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