toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.absent != null) {
    json[r'absent'] = this.absent;
  } else {
    json[r'absent'] = null;
  }
  if (this.automated != null) {
    json[r'automated'] = this.automated;
  } else {
    json[r'automated'] = null;
  }
    json[r'controls'] = this.controls;
  if (this.partial != null) {
    json[r'partial'] = this.partial;
  } else {
    json[r'partial'] = null;
  }
  if (this.statement != null) {
    json[r'statement'] = this.statement;
  } else {
    json[r'statement'] = null;
  }
  if (this.total != null) {
    json[r'total'] = this.total;
  } else {
    json[r'total'] = null;
  }
  if (this.unverified != null) {
    json[r'unverified'] = this.unverified;
  } else {
    json[r'unverified'] = null;
  }
  if (this.version != null) {
    json[r'version'] = this.version;
  } else {
    json[r'version'] = null;
  }
  return json;
}