toJson method
Implementation
Map<String, dynamic> toJson() {
final json = <String, dynamic>{};
json[r'id'] = id;
if (rev != null) {
json[r'rev'] = rev;
}
if (deletionDate != null) {
json[r'deletionDate'] = deletionDate;
}
if (version != null) {
json[r'version'] = version;
}
if (date != null) {
json[r'date'] = date;
}
return json;
}