toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.automated != null) {
    json[r'automated'] = this.automated;
  } else {
    json[r'automated'] = null;
  }
  if (this.edition != null) {
    json[r'edition'] = this.edition;
  } else {
    json[r'edition'] = null;
  }
  if (this.framework != null) {
    json[r'framework'] = this.framework;
  } else {
    json[r'framework'] = null;
  }
  if (this.name != null) {
    json[r'name'] = this.name;
  } else {
    json[r'name'] = null;
  }
  if (this.none != null) {
    json[r'none'] = this.none;
  } else {
    json[r'none'] = null;
  }
  if (this.note != null) {
    json[r'note'] = this.note;
  } else {
    json[r'note'] = null;
  }
  if (this.partial != null) {
    json[r'partial'] = this.partial;
  } else {
    json[r'partial'] = null;
  }
  if (this.publisher != null) {
    json[r'publisher'] = this.publisher;
  } else {
    json[r'publisher'] = 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.unit != null) {
    json[r'unit'] = this.unit;
  } else {
    json[r'unit'] = null;
  }
  if (this.units != null) {
    json[r'units'] = this.units;
  } else {
    json[r'units'] = null;
  }
  return json;
}