A new Flutter project.
- Home Page
- Add Menu
- Order Menu
- Settings
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter development, view the online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference. https://pub.dev/packages/idempiere_rest/example https://github.com/devcoffee/idempiere_rest
- from postman get json from {{protocol}}://{{host}}:{{port}}/api/v1/models/table
- copy json to https://javiercbk.github.io/json_to_dart/, https://json2csharp.com/code-converters/json-to-dart , https://dart-quicktype.netlify.app/ name of genarated class 'tablename' (modeltablename), ? replace ADClientID with ReferenceID ? ( be careful case sensitive)
- create dart file 'tablename' in ../models/ and copy generated class into it
- in models create model class for generated table. It is class with custom methods/functions over table