toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  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.custom404 != null) {
    json[r'custom404'] = this.custom404;
  } else {
    json[r'custom404'] = null;
  }
  if (this.httpsEnforced != null) {
    json[r'httpsEnforced'] = this.httpsEnforced;
  } else {
    json[r'httpsEnforced'] = null;
  }
  if (this.repo != null) {
    json[r'repo'] = this.repo;
  } else {
    json[r'repo'] = null;
  }
  if (this.source_ != null) {
    json[r'source'] = this.source_;
  } else {
    json[r'source'] = null;
  }
  if (this.status != null) {
    json[r'status'] = this.status;
  } else {
    json[r'status'] = null;
  }
  if (this.url != null) {
    json[r'url'] = this.url;
  } else {
    json[r'url'] = null;
  }
  return json;
}