Beat the eggs and mix them in. Add the melted chocolate and vanilla extract.
Slowly add in the flour and cocoa powder. Mix gently, do not over stir.
Using a greased, or baking paper lined tin/container, pour the mixture in.
Cook in the air fryer for 15 to 20 minutes, checking a few times to make sure the top isn't burning - if it is cooking quickly, put some foil or baking paper on top.
Once ready, allow to cool and then cut into smaller portions to serve.