of static method
Implementation
static JoinModel? of(AstNode node) {
final enclosingStatement = node.enclosingOfType<CrudStatement>();
if (enclosingStatement == null) return null;
final existing = enclosingStatement.meta<JoinModel>();
if (existing != null) return existing;
final created = JoinModel._resolve(enclosingStatement);
enclosingStatement.setMeta(created);
return created;
}