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