In dreams, dinosaurs represent something from your past or a personal characteristic that changed and you no longer use.
If you dream of being attacked by a dinosaur, you are struggling to change and become a different kind of person.
If you escape the dinosaur, you will be successful in being seen differently by peers.