Interesting read about safety around dogs for children.
My Maggie the Golden Retriever (now passed on) and our Cavalier King Charles Spaniel Bronny Boy both have amazing temperaments around children.
However, my caveat to that is
1) I trained both dogs to “companion” level so they were well socialised, didn’t jump up in people and obedient
2) I trained the children to be nice to the dogs. No means no.