toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'status'] = this.status;
if (this.voteId != null) {
json[r'voteId'] = this.voteId;
} else {
json[r'voteId'] = null;
}
if (this.isVerified != null) {
json[r'isVerified'] = this.isVerified;
} else {
json[r'isVerified'] = null;
}
if (this.user != null) {
json[r'user'] = this.user;
} else {
json[r'user'] = null;
}
if (this.editKey != null) {
json[r'editKey'] = this.editKey;
} else {
json[r'editKey'] = null;
}
return json;
}