toJson method
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;
}
if (this.kind != null) {
json[r'kind'] = this.kind;
} else {
json[r'kind'] = null;
}
if (this.primary != null) {
json[r'primary'] = this.primary;
} else {
json[r'primary'] = 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;
}