Unfortunately on the switch you can't use cheat codes, mods or anything like that, the most you can do on the switch in terms of game personalization is enter a seed, and that won't help you with this kind of thing. If you do want to do that sort of stuff such as spawn in items, you would want to be playing on PC. If you follow the advice other people have already given here you should catch it just fine on the switch.
You also mentioned periwinkle, which can only be caught in a crab pot. If you're trying to use one of those to catch your fish, you won't have any luck because you can't catch actual fish in there.
Best of luck catching your fish!