O-methyltransferase; part of the gene cluster that mediates the biosynthesis of aflavarin, a bicoumarin that exhibits anti-insectan activity against the fungivorous beetle C.hemipterus (Ref.2, PubMed:26209694). Secondary metabolite biosynthesis. Expression is induced by the developmental and secondary metabolism regulator veA (PubMed:26209694). Fails to produce aflavarin (PubMed:26209694). Belongs to the class I-like SAM-binding methyltransferase superfamily. Cation-independent O-methyltransferase family. COMT subfamily.