I had an hard time to find where the toast file was. In my case, was in /myapp/node_modules/ionic-angular/components/toast.js (ionic 3). Was worth to say it just for people passing by.
Beside this, it works perfectly and should totally be included in the official code.