Create Model Object/Class – Typescript / Ionic 3

i create the new model class under projectFolder/src/models/model-name.ts.

and then for example in the Provider, i use so;

 

Leave a Reply

Your email address will not be published.