toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'_id'] = this.id;
json[r'tenantId'] = this.tenantId;
json[r'urlId'] = this.urlId;
json[r'urlIdRaw'] = this.urlIdRaw;
json[r'commentId'] = this.commentId;
if (this.userId != null) {
json[r'userId'] = this.userId;
} else {
json[r'userId'] = null;
}
json[r'direction'] = this.direction;
json[r'createdAt'] = this.createdAt;
if (this.verificationId != null) {
json[r'verificationId'] = this.verificationId;
} else {
json[r'verificationId'] = null;
}
return json;
}