toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.after != null) {
json[r'after'] = this.after;
} else {
json[r'after'] = null;
}
if (this.agentRef != null) {
json[r'agentRef'] = this.agentRef;
} else {
json[r'agentRef'] = null;
}
if (this.base_ != null) {
json[r'base'] = this.base_;
} else {
json[r'base'] = null;
}
if (this.desktop != null) {
json[r'desktop'] = this.desktop;
} else {
json[r'desktop'] = null;
}
if (this.project != null) {
json[r'project'] = this.project;
} else {
json[r'project'] = null;
}
if (this.prompt != null) {
json[r'prompt'] = this.prompt;
} else {
json[r'prompt'] = null;
}
if (this.replyChannel != null) {
json[r'replyChannel'] = this.replyChannel;
} else {
json[r'replyChannel'] = null;
}
if (this.replyThread != null) {
json[r'replyThread'] = this.replyThread;
} else {
json[r'replyThread'] = null;
}
if (this.repo != null) {
json[r'repo'] = this.repo;
} else {
json[r'repo'] = null;
}
if (this.targetId != null) {
json[r'targetId'] = this.targetId;
} else {
json[r'targetId'] = null;
}
if (this.timeoutSeconds != null) {
json[r'timeoutSeconds'] = this.timeoutSeconds;
} else {
json[r'timeoutSeconds'] = null;
}
if (this.tool != null) {
json[r'tool'] = this.tool;
} else {
json[r'tool'] = null;
}
return json;
}