A FLAVOPROTEIN enzyme that catalyzes the oxidative demethylation of dimethylglycine to SARCOSINE and FORMALDEHYDE.