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.cname != null) {
    json[r'cname'] = this.cname;
  } else {
    json[r'cname'] = null;
  }
  if (this.httpsEnforced != null) {
    json[r'httpsEnforced'] = this.httpsEnforced;
  } else {
    json[r'httpsEnforced'] = 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;
}