toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.buildJobId != null) {
    json[r'buildJobId'] = this.buildJobId;
  } else {
    json[r'buildJobId'] = null;
  }
  if (this.image != null) {
    json[r'image'] = this.image;
  } else {
    json[r'image'] = null;
  }
  if (this.index != null) {
    json[r'index'] = this.index;
  } else {
    json[r'index'] = null;
  }
  if (this.runnerPool != null) {
    json[r'runnerPool'] = this.runnerPool;
  } else {
    json[r'runnerPool'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.target != null) {
    json[r'target'] = this.target;
  } else {
    json[r'target'] = null;
  }
  return json;
}