toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.attested != null) {
    json[r'attested'] = this.attested;
  } else {
    json[r'attested'] = null;
  }
  if (this.href != null) {
    json[r'href'] = this.href;
  } else {
    json[r'href'] = null;
  }
  if (this.id != null) {
    json[r'id'] = this.id;
  } else {
    json[r'id'] = null;
  }
  if (this.kind != null) {
    json[r'kind'] = this.kind;
  } else {
    json[r'kind'] = null;
  }
  if (this.label != null) {
    json[r'label'] = this.label;
  } else {
    json[r'label'] = null;
  }
  if (this.note != null) {
    json[r'note'] = this.note;
  } else {
    json[r'note'] = null;
  }
  if (this.released != null) {
    json[r'released'] = this.released;
  } else {
    json[r'released'] = null;
  }
  if (this.tier != null) {
    json[r'tier'] = this.tier;
  } else {
    json[r'tier'] = null;
  }
  if (this.title != null) {
    json[r'title'] = this.title;
  } else {
    json[r'title'] = null;
  }
  if (this.updated != null) {
    json[r'updated'] = this.updated;
  } else {
    json[r'updated'] = null;
  }
  return json;
}