Too little details to tell your situation. e.g. how was the case dismissed? is there any guilty plea? What about the community service and classes? Is that part of the deal to dimiss the case?
Immigration law is different from criminal law. Even though your case is dismissed, it does not guarantee it is dismissed from the immigration's point of view. Maybe you should talk to a immigration lawyer with all those details.