1Cake: Preheat oven to 350 degrees. Butter a 10-by-15-inch jelly-roll pan. Line bottom with parchment, leaving a 2-inch overhang on 2 sides; butter parchment.
2Whisk together flour, cocoa, granulated sugar, baking powder, baking soda, and salt. In another bowl, whisk together eggs, butter, and vanilla. Stir egg mixture into flour mixture until batter loosens, about 1 minute. Stir in zucchini and chocolate (batter will be quite thick). Spread evenly into prepared pan; smooth top with a spatula. Bake until a tester inserted into cake comes out clean, 28 to 30 minutes. Transfer to a wire rack; let cool completely. Remove from pan.
3Frosting: Beat butter on medium-high speed until smooth, 2 minutes. Add cream cheese; beat to combine. Reduce speed to medium-low and add confectioners' sugar, 1/2 cup at a time, beating until thickened. Beat in vanilla. Spread frosting over cake, scatter with zucchini blossoms, and serve. Cake can be refrigerated (without blossoms) up to 8 hours.
Shared from Martha Stewart.