visibleTo method
Determine if this version is visible to ctx.
Implementation
bool visibleTo(TxnContext ctx) {
final created = ctx.canSeeCreatedBy(createdByTxn);
final notDeleted = ctx.canSeeDeletedBy(deletedByTxn);
return created && notDeleted;
}