toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final json = <String, dynamic>{};
  if (this.createdAt != null) {
    json[r'createdAt'] = this.createdAt;
  } else {
    json[r'createdAt'] = null;
  }
  if (this.detail != null) {
    json[r'detail'] = this.detail;
  } else {
    json[r'detail'] = null;
  }
  if (this.host != null) {
    json[r'host'] = this.host;
  } else {
    json[r'host'] = null;
  }
    json[r'records'] = this.records;
  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;
  }
  if (this.verified != null) {
    json[r'verified'] = this.verified;
  } else {
    json[r'verified'] = null;
  }
  return json;
}