toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
if (this.urlId != null) {
json[r'urlId'] = this.urlId;
} else {
json[r'urlId'] = null;
}
if (this.anonUserId != null) {
json[r'anonUserId'] = this.anonUserId;
} else {
json[r'anonUserId'] = null;
}
if (this.userId != null) {
json[r'userId'] = this.userId;
} else {
json[r'userId'] = null;
}
if (this.value != null) {
json[r'value'] = this.value;
} else {
json[r'value'] = null;
}
if (this.commentId != null) {
json[r'commentId'] = this.commentId;
} else {
json[r'commentId'] = null;
}
if (this.questionId != null) {
json[r'questionId'] = this.questionId;
} else {
json[r'questionId'] = null;
}
if (this.meta != null) {
json[r'meta'] = this.meta;
} else {
json[r'meta'] = null;
}
return json;
}