Map<String, dynamic> toJson() { final json = <String, dynamic>{}; if (this.amendmentId != null) { json[r'amendmentId'] = this.amendmentId; } else { json[r'amendmentId'] = null; } return json; }