class DashboardInfo {

    private String id;

    private String name;

    private List<ObjectInfo> objects;

    public static Mono<DashboardInfo> of(Dashboard dashboard) {<FILL_FUNCTION_BODY>}

}

        return dashboard.getObjects()
            .map(ObjectInfo::of)
            .collectList()
            .map(list -> {
                DashboardInfo dashboardInfo = new DashboardInfo();
                dashboardInfo.setId(dashboard.getDefinition().getId());
                dashboardInfo.setName(dashboard.getDefinition().getName());
                dashboardInfo.setObjects(list);
                return dashboardInfo;
            });

    
<no_super_class>