toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.badgeMarkdown != null) {
json[r'badgeMarkdown'] = this.badgeMarkdown;
} else {
json[r'badgeMarkdown'] = null;
}
if (this.createdAt != null) {
json[r'createdAt'] = this.createdAt;
} else {
json[r'createdAt'] = null;
}
if (this.method != null) {
json[r'method'] = this.method;
} else {
json[r'method'] = null;
}
if (this.ownerUrl != null) {
json[r'ownerUrl'] = this.ownerUrl;
} else {
json[r'ownerUrl'] = null;
}
if (this.verified != null) {
json[r'verified'] = this.verified;
} else {
json[r'verified'] = null;
}
if (this.verifiedAt != null) {
json[r'verifiedAt'] = this.verifiedAt;
} else {
json[r'verifiedAt'] = null;
}
return json;
}