add new method for emit with dictionary

I made a new method for emit with dictionary.. I think it's more easier in Swift Language