Deed not Breed.
It doesn't matter what type of dog a person has. ANY dog can turn, ANY dog can bite.
30 years ago it was all about the Alsatian/German Shepherd - they were the boogeyman, the devil dog that bit you for fun.
20 years ago it was all about the Rottweiller - they were the boogeyman, the devil dog that bit you for fun.
For the last 10 years it's been the Staffie.
The next 10? Maybe the Husky or the Malamute.
Who knows, in 20/30/40 years time we may all be terrified of Poodles.
Deed not breed. Don't demonise a species, a breed, a type, because of the actions of a few.
Dogs should not be left with unsupervised children and children should be taught how to act around dogs. The two go hand in hand if you are a dog owner. Polite dogs should not jump up, mouth, bite or dominate - that is the responsibility of the owner. Polite children should not poke, pull, hurt or tease - that is the responsibility of the parent.
No-one with a brain in their head should bring home a dog that was '"got off a mate in a pub". A decent rescue would expect to introduce a dog to every member of the family before they are deemed suitable - and they will be checking how the children act as much as how the dog acts. I would hope that a decent breeder would do the same.
The message from the OP is a sensible one at the start, and more measured than the other "oh my god why would anyone want a dirty stinking killing machine animal in their house" thread.
Responsible owners will have responsible dogs. If you cannot promise to be 100% vigilant, 100% consistent, and train your dog thoroughly, then you shouldn't have a dog (of any breed).