I looked at this post a couple days ago and I thought the answer would be trimethylamine since the methyls are donating groups but that's not the case in this situation. I am currently taking organic II and just had lecture over amine chemistry. I had just learned why trimethylamine would be more basic and had to come on here to share. If the question was asking to compare ammonia with methylamine, dimethylamine, or any alkyl group around the nitrogen, ammonia would be less basic. When there is a tertiary amine surrounded by three methyls or three alkyl groups it becomes less basic, and ammonia would be the more basic one. This is called steric hindrance to solvation, meaning that since the amine is sterically hindered, by the three methyls or any alkyl group, it is harder for nitrogen's lone pair to be taken, for instance, by water(that's where the solvation comes in). Ammonia only has three hydrogens around it, therefore nitrogen's lone pair in ammonia is readily available and would be more basic. Hope this helped.
Also to confirm which is more basic look at pkb values, not pka