Without physically testing it's difficult to say if the problem is the ac adapter or the laptop. If you have access to a different adapter you can see what happens when you connect that. The charging circuit is within the computer itself, not the ac adapter.
Apple provides guidance that includes steps to take if the charge indicator light blinks.
That guidance is here: Charge your MacBook Air or MacBook Pro - Apple Support
❝If the indicator light continues to flash repeatedly, you might need a repair. Get service.❞
You can make a Genius Bar appointment for hardware/software service and support using this link: Contact Apple Support - Apple Support.
Customer Support (800) MY–APPLE (800–692–7753) or on line /getsupport.apple.com/
or call AppleCare Support at 1-800-APLCARE (800-275-2273)