Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: refactor
AliceChopperAdapter
(#191)
* chore: refactor `AliceChopperAdapter` * fix: use fold instead of map + reduce * fix: AliceChopperAdapter * chore: log Alice error on HTTP errors * chore: update alice_chopper example * chore: remove unused import * chore: add more example calls * chore: add more error logging * chore: remove unused import * chore: update alice_chopper example * chore: add content-type and accept interceptors to example * chore: add more example HTTP calls * refactor: rename Post to Article to avoid name clash with Chopper's Post class * refactor: add const constructors where possible * refactor: extract ArticlesService out of the caller method * chore: add more example models * chore: use flutter_lints for linting * chore: add more Chopper services * chore: add more Chopper service routes * chore: add more test calls * chore: better error handling in AliceChopperAdapter * chore: rename lat / lng to latitude / longitude * chore: better error handling * fix: add alice_token back * chore: add broken model examples to trigger error handling * chore: use Uuid v4 as the alice_token to make it completely unique
- Loading branch information