Not necessarily more often, lint production is similar. But the consequences of a blocked vent are more serious with gas, because a restricted line can push combustion byproducts including carbon monoxide back into your home. Same interval, higher stakes, and CO detectors matter.
Lint comes from fabric, not from the heat source. A gas dryer and an electric dryer drying the same laundry produce roughly the same lint load. So the cleaning interval is driven by the same things either way: household volume, pets, high-lint fabrics, and the length and design of your vent run.
A gas dryer burns fuel, and its exhaust must leave the building. When the vent is restricted, that exhaust has nowhere to go and can back up into the laundry room. Carbon monoxide is colorless and odorless, which is precisely why this matters, the symptoms of exposure are headache, nausea, dizziness and drowsiness, and they're easy to attribute to something else.
Keep the same annual baseline, shortened by the same factors that shorten anyone's. The difference isn't frequency, it's that you should treat the warning signs as urgent rather than as an inconvenience to get around to.
Look behind it for a gas supply line and shutoff valve. Electric dryers have only a large power cord.
Follow the manufacturer’s placement guidance, and include coverage near sleeping areas and gas appliances.