Generate class name from hierarchical path
factory QueryName.fromPath({required List<Name?> path}) { return QueryName(name: path.map((e) => e!.dartTypeSafe).join(r'$_')); }