How would you convince a toddler to eat broccoli? 
You might try to break off the flower heads and tell them they are like little trees.
What if they do not like the taste of broccoli?
There are many ways to cook it which might make it taste different; such as boiling, steaming, or just eating it raw.
Why should the child trust you if your answer is to eat the broccoli raw? 
If you eat it with them maybe that would help.  Broccoli is safe to eat raw.
A toddler is not concerned with the safety of eating broccoli raw. They are concerned with how it tastes. 
If they do not like the taste of it boiled or steamed maybe you can add a cheese sauce.  If they want to try it raw you can try a dipping sauce.
What other kinds of dipping sauce could a child try if they do not like the taste?
When eating raw broccoli I have seen people use ranch.