toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.reason != null) {
json[r'reason'] = this.reason;
} else {
json[r'reason'] = null;
}
if (this.code != null) {
json[r'code'] = this.code;
} else {
json[r'code'] = null;
}
if (this.commentsUpdated != null) {
json[r'commentsUpdated'] = this.commentsUpdated;
} else {
json[r'commentsUpdated'] = null;
}
if (this.page != null) {
json[r'page'] = this.page;
} else {
json[r'page'] = null;
}
json[r'status'] = this.status;
return json;
}