toJson method

Map<String, dynamic> toJson()

Implementation

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