aflatoxin B synthase activity
Catalyzes the reaction: 8-O-methylsterigmatocystin + 2 [reduced NADPH--hemoprotein reductase] + 2 O2 = aflatoxin B + 2 [oxidized NADPH--hemoprotein reductase] + H2O + methanol + CO2. Produces both aflatoxin B(1) and aflatoxin B(2).
GO:0140399 · molecular function · an activity a gene product carries out, not a process it takes part in