Library of tools to create REST resource clients (web- и mobile-clients are supported)
The core of library is the ResourceClient
, which uses RestClient
to communicate with server. Objects ResourceClient
is working with must inherit from Model
class of package data_model
ResourceClient
out of the box supports basic CRUD methods:
create
- create objectread
- get object/objects from resourceupdate
- update objectreplace
- replace objectdelete
- remove object
If you need you can add any other methods while inheritance.
Usage examples can be found in example directory and in tests
pub run test -p vm,chrome