Ouch! I'm so sorry that happened to you. I hope you're not in too much pain and that you will have a speedy recovery.

...and I hope the dog is fine, with no hidden injuries anywhere that show up later.

FWIW, I live in a state where there is no "leash law." Laws here are set by local government, and ours hasn't seen fit to put one on the books. So dogs are a reality here.

Even in areas without leash laws, I would expect the dog owner would be held liable for your crash. You certainly have as much a right to be riding on a public road as any motor vehicle does.