toJson method

Map<String, dynamic> toJson()

Implementation

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